{"id":"CVE-2026-116695","revision":"2afee71427ac4b54b57683c351333025","records":[{"revision":"2afee71427ac4b54b57683c351333025","observedAt":"2026-10-27T21:45:55.39+00:00","statement":{"source":"cve-program","id":"CVE-2026-116695","aliases":[],"title":"Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass","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.","state":0,"publishedAt":"2026-10-27T20:10:34.01+00:00","modifiedAt":"2026-10-27T20:10:34.01+00:00","affected":[{"ecosystem":"Vendor product","name":"crass","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"rgrove\",\n                    \"product\": \"crass\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.0.8\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29","https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34","https://github.com/rgrove/crass/releases/tag/v1.0.8"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116695","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-116695","identifiers":["CVE-2026-116695"]},"retained":false,"historicalAffected":[]}],"coverage":[]}