CVE-2026-116695 Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
13 packages: 3 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby-crass(Debian 12) | = 1.0.2-3; = 1.0.6-1; = 1.0.7-1; = 1.0.8-1 +1 more | No fix listed | No fix yet |
| debian/ruby-crass(Debian 13) | = 1.0.6-1; = 1.0.7-1; = 1.0.8-1; All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel8(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/3scale-amp2/system-rhel9(Red Hat 3scale 2.13) | All versions | No fix listed | No fix yet |
| redhat/rubygem-crass(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-crass(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux rubygem-crass(Azure Linux 4.0) | < 0:1.0.8-22.azl4 | 0:1.0.8-22.azl4 | Fixed |
| debian/ruby-crass(Debian 14) | < 1.0.8-1; = 1.0.6-1; = 1.0.7-1 | 1.0.8-1 | Fixed |
| rubygems crass(RubyGems) | < 1.0.8; <= 1.0.7; = 0.0.1; = 0.0.2 +11 more | 1.0.8 | Fixed |
| rgrove crass | = < 1.0.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/rubygem-crass(Red Hat:satellite:6) | All versions | No fix listed |
| rubygems crass(RubyGems) | < 1.0.8 | 1.0.8 |
| rubygems crass(RubyGems) | = 0.0.1 | No fix listed |
| rubygems crass(RubyGems) | = 0.0.2 | No fix listed |
| rubygems crass(RubyGems) | = 0.1.0 | No fix listed |
| rubygems crass(RubyGems) | = 0.2.0 | No fix listed |
| rubygems crass(RubyGems) | = 0.2.1 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.0 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.1 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.2 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.3 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.4 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.5 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.6 | No fix listed |
| rubygems crass(RubyGems) | = 1.0.7 | No fix listed |
| rgrove crass | = < 1.0.8 | No fix listed |
| debian/ruby-crass(Debian:12) | All versions | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.2-3 | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.6-1 | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.7-1 | No fix listed |
| debian/ruby-crass(Debian:12) | = 1.0.8-1 | No fix listed |
| debian/ruby-crass(Debian:13) | All versions | No fix listed |
| debian/ruby-crass(Debian:13) | = 1.0.6-1 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ruby-crass(Debian:13) | = 1.0.7-1 | No fix listed |
| debian/ruby-crass(Debian:13) | = 1.0.8-1 | No fix listed |
| debian/ruby-crass(Debian:14) | < 1.0.8-1 | 1.0.8-1 |
| debian/ruby-crass(Debian:14) | = 1.0.6-1 | No fix listed |
| debian/ruby-crass(Debian:14) | = 1.0.7-1 | No fix listed |
| rubygems crass(RubyGems) | <= 1.0.7 | No fix listed |
| ubuntu/ruby-crass(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ruby-crass(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby-crass(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ruby-crass(Ubuntu:26.10) | All versions | No fix listed |
| azure linux rubygem-crass(Azure Linux:4.0) | < 0:1.0.8-22.azl4 | 0:1.0.8-22.azl4 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2562396 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34 patch
- https://github.com/rgrove/crass/releases/tag/v1.0.8
- https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29 vendor-advisory
- github.com product
- github.com
- Debian Security Tracker CVE-2026-116695 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-111386 third-party-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory