{"id":"CVE-2026-116695","published":"2026-10-27T20:10:34Z","modified":"2026-11-03T12:13:04Z","title":"Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass","vendor":"rgrove","product":"crass","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00353,"percentile":0.2981,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34","tags":["x_refsource_MISC"]},{"url":"https://github.com/rgrove/crass/releases/tag/v1.0.8","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":5.96},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"rgrove","affectedVersions":[{"vendor":"rgrove","product":"crass","versions":["< 1.0.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-03T12:10:05.530836Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"crass","vulnerableRanges":["<1.0.8"],"patched":["1.0.8"],"from":["GHSA-pq4g-8rxf-4g29"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-111386","exploited":false,"provenance":"source"}}