All vulnerabilities

Servers and applications

CVE-2026-86738

Cross-superuser CSRF-token exfiltration via custom CSS `@import` and external `url()`

Severity
Critical 9.3
Published
24 Aug 2026
Last changed
11 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
8.7.0
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)Improper output encoding (CWE-116)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-pvcw-mp8q-mj39
Sources
NVD, Project advisories (GitHub)

Description

The Custom CSS field in Snipe-IT settings applies an encode-then-selectively-decode sanitization chain to the stored CSS before rendering it inside a global `

in resources/views/layouts/default.blade.php and resources/views/layouts/basic.blade.php`.

The pre-fix implementation of show_custom_css() in app/Models/Setting.php performed four transformations:

  • e($custom_css) HTML-encodes every special character, so < becomes <, > becomes >, " becomes ", and so on.
  • str_ireplace('script', 'SCRIPTS-NOT-ALLOWED-HERE', $custom_css) blocklists the substring script, which is meaningful for HTML tag injection but not for CSS.
  • str_replace('>', '>', $custom_css) reverses the encoding of the greater-than character.
  • str_replace('"', '"', $custom_css) reverses the encoding of the double-quote character.

CSS injection requires only >, ", {, }, :, ;, (, ), and letters. All of those either survive step 1 unchanged (letters, {, }, :, ;, (, )) or are re-decoded in step 3 or 4 (>, ").

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · cpe:a:snipeitapp:snipe-it
  • From 3.0.0 before 8.7.0
Snipe-ITServers and applications · github:grokability/snipe-it
  • Version 3.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-86738
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-86738
  • GitHub Advisory Database https://github.com/advisories/GHSA-pvcw-mp8q-mj39
  • github.com https://github.com/grokability/snipe-it/security/advisories/GHSA-pvcw-mp8q-mj39