CVE-2026-86738: Snipe-IT before 8.7.0 CSS Injection via Custom CSS
Snipe-IT versions before 8.7.0 contain a CSS injection vulnerability in the Custom CSS field due to incomplete sanitization that reverses HTML encoding on greater-than and double-quote characters. Superusers can plant malicious CSS payloads using @import and url() references to exfiltrate CSRF tokens from other superusers via attribute-selector rules, enabling account takeover.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Snipe-ITto a version that resolves this vulnerability.Fixed in 8.7.0 - Configuration
Update/adjust Snipe-IT so the Custom CSS field fully sanitizes input and does not allow CSS injection payloads using @import and url() references that could exfiltrate CSRF tokens.
Snipe-IT Custom CSS field sanitization = Ensure complete sanitization (prevent @import and url() CSS payloads)
Event History
Frequently Asked Questions
Who can introduce the malicious CSS, and who is at risk of having an account taken over?
A superuser must be able to enter a payload in the Custom CSS field. The described payload targets other superusers by exfiltrating their CSRF tokens, which can enable takeover of those accounts.
Does exploitation require an attacker to interact with a victim?
The available information describes a superuser planting CSS that exfiltrates CSRF tokens from other superusers. It does not state what specific victim action or page visit is required.
Which releases are affected?
Snipe-IT versions before 8.7.0 are affected. The provided data does not identify any other affected configuration conditions.