{"id":"UBUNTU-CVE-2026-116695","details":"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.","modified":"2026-10-28T20:17:45.944025031Z","published":"2026-10-27T21:18:00Z","upstream":["CVE-2026-116695"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-116695"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-116695"},{"type":"REPORT","url":"https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34"},{"type":"REPORT","url":"https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34"},{"type":"REPORT","url":"https://github.com/rgrove/crass/releases/tag/v1.0.8"}],"affected":[{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-2.1","1.0.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.2-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.2-3","binary_name":"ruby-crass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.6-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.6-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}},{"package":{"name":"ruby-crass","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-crass?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.6-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-crass","binary_version":"1.0.6-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-116695.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}