Servers and applications
GHSA-gc22-r333-8q45
Snipe-IT Custom CSS Sanitizer Bypass Allows Cross-User CSRF Token Exfiltration
- Severity
- High 8.7
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 20 Nov 2026
- Fixed in
- 8.8.0
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N- Sources
- Project advisories (GitHub)
Description
Snipe-IT's mitigation for CVE-2026-86738 / GHSA-pvcw-mp8q-mj39 remains bypassable because the Custom CSS sanitizer operates on the raw CSS source rather than normalized CSS tokens.
The released sanitizer introduced in commit d26d71688359707f3b257fc04fe6c3e5a17405f9 attempts to remove @import rules using a regular expression and to reject dangerous external url(...) values.
A subsequent hardening commit, 7b4556217abf1c14f9f4a70fd60eed35889ae8ae, improves this by:
- blocking @import without whitespace,
- blocking comment-separated forms such as @import/comment/,
- rejecting backslashes inside url(...).
However, the revised sanitizer still searches for the literal source text @import.
CSS allows escape sequences inside identifiers. Therefore, the following is interpreted by the browser as @import but is not matched by the sanitizer:
The payload survives server-side sanitization and causes the victim's browser to load an attacker-controlled external stylesheet.
Affected software
| Software | Affected versions |
|---|---|
Snipe-ITServers and applications · github:grokability/snipe-it |
|
About Snipe-IT
A free open source IT asset/license management system
- Docker Hub pulls
- 29,869,543Docker Hub, 15 Nov 2026
- GitHub stars
- 15,189GitHub, 15 Nov 2026
- Forks
- 4,068GitHub, 15 Nov 2026
- Latest release
- v8.8.3GitHub, 15 Nov 2026
- Released
- 22 Oct 2026GitHub
- License
- AGPL-3.0GitHub
- First published on GitHub
- 12 Nov 2013GitHub
Source code Website Docker image
Vulnerabilities in Snipe-IT
- In our list
- 182
- Published in the last 12 months
- 142
- Critical, last 12 months
- 3
- High, last 12 months
- 42
- Known exploited
- 0
- GHSA-xwf8-rj39-5q7qStored cross-user CSS injection via unvalidated status label color rendered into the global sidebar inline style attributeHigh 7.4 20 Nov 2026
- GHSA-xv5m-x88p-hpwqRace condition in predefined-kit checkout allows duplicate license-seat, consumable, and accessory assignments (incomplete fix for CVE-2026-86744)Medium 5.3 20 Nov 2026
- GHSA-xq76-w3x8-7fgfAsset create endpoints perform checkout under only the create permission (incomplete fix of GHSA-6g2g-83pc-6365)Medium 4.3 20 Nov 2026
- GHSA-wwp4-qx8p-62g8Bulk user edit and CSV import detach users from FMCS companies outside the editor's authorityMedium 6.4 20 Nov 2026
- GHSA-wrm6-79m3-48c6Clone form leaks source-record data to users without view permissionMedium 4.3 20 Nov 2026
- GHSA-wq64-46j7-h5vrUser CSV importer stores avatar path without basename, enabling cross-directory file deletion in public uploadsMedium 5.4 20 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-gc22-r333-8q45
- github.com https://github.com/grokability/snipe-it/security/advisories/GHSA-gc22-r333-8q45