Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34
- https://github.com/rgrove/crass/releases/tag/v1.0.8
- https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29
FAQ
What is CVE-2026-116695?
CVE-2026-116695 is a documented vulnerability. 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 consu...
How severe is CVE-2026-116695?
CVSS scoring is not yet available for CVE-2026-116695. Check NVD for updates.
Is there a patch for CVE-2026-116695?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.