CVE-2026-116695
Crass is a Ruby CSS parser that is compliant with the CSS Syntax …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34
- github.com/rgrove/crass/releases/tag/v1.0.8
- github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29
- nvd.nist.gov/vuln/detail/CVE-2026-116695
- github.com/rubysec/ruby-advisory-db/blob/master/gems/crass/GHSA-pq4g-8rxf-4g29.yml
- github.com/advisories/GHSA-pq4g-8rxf-4g29
- nvd.nist.gov/vuln/detail/CVE-2026-116695
- cve.org/CVERecord?id=CVE-2026-116695
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.