GitHub Advisory Database
GHSA-r52f-r9v5-66xr
Snipe-IT vulnerable to stored XSS via Markdown custom field
Details
Impact
CommonMark is configured with html_input => 'escape', which blocks raw HTML injection. However, javascript: URIs in Markdown hyperlinks are not sanitized. A user with assets.edit permission can inject a malicious link into any markdown-textarea custom field. Any user who opens the asset detail page and clicks the link executes arbitrary JavaScript in their browser session.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | snipe/snipe-it | All versions before 8.6.2 (fixed in 8.6.2) |
References
- https://github.com/grokability/snipe-it/security/advisories/GHSA-r52f-r9v5-66xr
- https://nvd.nist.gov/vuln/detail/CVE-2026-55464
- https://github.com/grokability/snipe-it/commit/006981cccffce1739e24d3b680b676f772f40e2d
- https://github.com/grokability/snipe-it
- https://github.com/grokability/snipe-it/releases/tag/v8.6.2