CVE-2026-145627: Snipe-IT 8.7.0 before 8.8.0 Custom CSS Sanitizer Bypass via Escaped @import
Snipe-IT from 8.7.0 before 8.8.0 contains a CSS injection vulnerability that allows superusers to bypass the Custom CSS sanitizer by using CSS-escaped at-keywords. Attackers can save escaped @import rules in branding settings to load external stylesheets in other users' browsers and exfiltrate CSRF tokens via attribute selectors.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker needs superuser privileges to access and save Custom CSS in the branding settings. The injected stylesheet is then loaded in other users' browsers.
Which deployments are affected?
Snipe-IT versions from 8.7.0 before 8.8.0 are affected. The issue applies where a superuser can modify branding Custom CSS settings.
What can an attacker do after bypassing the sanitizer?
They can save CSS-escaped @import rules that load an externally hosted stylesheet in other users' browsers. The advisory describes exfiltration of CSRF tokens through CSS attribute selectors.
What is the mitigation if an update cannot be applied immediately?
Restrict superuser access and prevent untrusted superusers from changing Custom CSS in branding settings. This reduces the ability to save the escaped @import payload required for exploitation.