Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API
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.7 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-63498 (opens in a new tab) |
| GHSA | GHSA-396x-xmvh-p563 (opens in a new tab) |
| Weakness | CWE-79 |
What the advisory says
Snipe-IT's uploaded-files API accepts XML documents and later serves them inline without applying the safe-inline allowlist used by the equivalent web controller. An authenticated user who can attach files to a supported object can upload an XSLT stylesheet and an XML document that references it through xml-stylesheet. When another authorized user opens the XML file through the API with ?inline=true, the browser applies the attacker-controlled stylesheet, which produces HTML containing JavaScript in the Snipe-IT origin. This was reproduced against commit df8e3b144331d0c1cc14778f900e7646d1d9a509 (v8.6.3-231-gdf8e3b1443).
Source: GHSA-396x-xmvh-p563 (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: Stored XSS via Custom Field name in asset-list column headers (high, 24 September 2026)
- Snipe-IT: 2FA bypass via the API token flow (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)