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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-436"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116695.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "689fc45c632fdf3803b2f4e844ffc9cca3b08f34"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.0.8",
"range": [
{
"fixed": "fe775091c79c35c924655d415ad78b04be7b7ee2"
}
],
"source": "REFERENCES_TAG"
}
]
}