All vulnerabilities

Servers and applications

GHSA-v279-2q6w-g8j4

Denylist sanitizer for custom CSS is defeated by hex escaped keywords and by a scheme only url with no authority slashes

Severity
Medium 6.8
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)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

The custom CSS sanitizer filters external at import and url references with literal substring regular expressions and a backslash check, and it never decodes CSS escapes or resolves URLs before matching. Three CSS legal forms defeat it on the current development head. Writing the at import at keyword with a hex escape produces no literal at import substring, writing the url function name with a hex escape produces no literal url substring, and writing a url with a scheme but no authority slashes produces no protocol relative match, so in each case the sanitizer leaves the value untouched and it is emitted verbatim into a style block on every authenticated page. A standards conforming browser decodes the escapes and normalizes the scheme only url at parse time, so it loads an attacker chosen external stylesheet or resource.

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