CVE Catalog

CVE-2026-116695

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

29th percentile - higher than 29% of all known CVEs

Summary

In the Crass Ruby CSS parser prior to 1.0.8, a closing parenthesis after an escaped backslash is incorrectly treated as escaped while consuming the remnants of a bad URL. Crass keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS.

Risk Assessment

A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow UI redress, external resource loading, or CSS-based data exfiltration. The issue does not enable script execution in modern browsers.

Recommendation

Upgrade Crass to version 1.0.8 or later. In CSS sanitizers, reject or normalize bad URL tokens instead of reserializing them.

Other vulnerabilities in Crass

See all
Original NVD description (English source)

Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS