CVE-2026-145630: Snipe-IT 8.7.0 before 8.8.0 Custom CSS Sanitizer Bypass via Hex Escapes
Snipe-IT from 8.7.0 before 8.8.0 contains a custom CSS sanitizer bypass vulnerability that allows superusers to inject external stylesheet references by using hex-escaped @import or url keywords or scheme-only URLs without authority slashes. Attackers can plant branding CSS that loads attacker-controlled resources on every authenticated page, exfiltrating values such as CSRF tokens when the content security policy is disabled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.8.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs superuser privileges in a Snipe-IT installation running version 8.7.0 before 8.8.0. The injected CSS is then loaded on authenticated users' pages.
Are default deployments affected?
The described CSRF-token exfiltration condition requires the content security policy to be disabled. The vulnerability description does not state whether CSP is disabled by default.
What should be done if an immediate upgrade is not possible?
Ensure that the content security policy remains enabled and restrict superuser access to trusted administrators. This reduces the stated ability to load attacker-controlled resources and exfiltrate values from authenticated pages.