CVE-2026-116695
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.
- Score
- 5.3 medium
- Published
- 2026-10-27
- Links
- NVD · cve.org · Report wrong data
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| www/rubygem-crass | rubygem-crass | 1.0.7 | unaddressed | ruby@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>rubygem-crass</name>
<range><lt>1.0.8</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-116695</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-116695</url>
</references>
<dates>
<discovery>2026-10-27</discovery>
<entry>2026-10-28</entry>
</dates>
</vuln>