Snipe-IT: Stored XSS via Custom Field name in asset-list column headers
High severity. Published 24 September 2026. Update snipe/snipe-it to 8.7.0 or later: composer update snipe/snipe-it.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| snipe/snipe-it (opens in a new tab) | < 8.7.0 | 8.7.0 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show snipe/snipe-it
composer auditAdvisory details
| Severity | HighCVSS 8.1 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-62368 (opens in a new tab) |
| GHSA | GHSA-p9h3-gvpq-5539 (opens in a new tab) |
| Weakness | CWE-79 |
What the advisory says
Impact A user with the "customfields.create" permission can store HTML/JS in a Custom Field name, which is later rendered as an asset-list column title WITHOUT escaping at app/Presenters/AssetPresenter.php line 364 ('title' = $field-name) and injected into the table header by the bundled bootstrap-table plugin. It executes for anyone who opens an asset list (e.g. /hardware), including superusers, on page load with no interaction. Since "customfields.create" can be granted to non-superusers, a lower-privileged user gets script execution in a superuser's session - privilege escalation.
STEPS TO REPRODUCE 1. As a user with "customfields.create", create a Custom Field named: 2.
Source: GHSA-p9h3-gvpq-5539 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- Snipe-IT: 2FA bypass via the API token flow (high, 24 September 2026)
- Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API (high, 24 September 2026)
- Snipe-IT has a path traversal vulnerability via CSV import `image` field (opens in a new tab) (low, 28 August 2026)
- Snipe-IT has CSV formula injection in Activity Report export (opens in a new tab) (medium, 28 August 2026)
- Snipe-IT has an Open Redirect After User Edit (opens in a new tab) (medium, 28 August 2026)