All vulnerabilities

Servers and applications

GHSA-gc22-r333-8q45

Snipe-IT Custom CSS Sanitizer Bypass Allows Cross-User CSRF Token Exfiltration

Severity
High 8.7
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
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:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

Snipe-IT's mitigation for CVE-2026-86738 / GHSA-pvcw-mp8q-mj39 remains bypassable because the Custom CSS sanitizer operates on the raw CSS source rather than normalized CSS tokens.

The released sanitizer introduced in commit d26d71688359707f3b257fc04fe6c3e5a17405f9 attempts to remove @import rules using a regular expression and to reject dangerous external url(...) values.

A subsequent hardening commit, 7b4556217abf1c14f9f4a70fd60eed35889ae8ae, improves this by:

  • blocking @import without whitespace,
  • blocking comment-separated forms such as @import/comment/,
  • rejecting backslashes inside url(...).

However, the revised sanitizer still searches for the literal source text @import.

CSS allows escape sequences inside identifiers. Therefore, the following is interpreted by the browser as @import but is not matched by the sanitizer:

The payload survives server-side sanitization and causes the victim's browser to load an attacker-controlled external stylesheet.

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

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • From 8.7.0 before 8.8.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