CVE-2026-116695

GHSA-pq4g-8rxf-4g29 · published 27 Oct 2026 · updated 16 Nov 2026

Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in crass 1.0.8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
rgrove<1.0.8
rubygems: crass<=1.0.71.0.8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in crass (RubyGems), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116695 severity on Zeptric[![CVE-2026-116695](https://zeptric.io/badge/cve/CVE-2026-116695.svg)](https://zeptric.io/cve/CVE-2026-116695)