Public vulnerability disclosure

CVE-2026-116695

Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass

publishedCWE-436

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.

Technical severity5.3 mediumCVSS 4.0 · CNA: GitHub_M
Published2026-10-27Source updated 2026-11-03
Collected2026-11-033 attributed sources

Fixes and workarounds

Fix

crass (RubyGems): OSV reports a fixed version 1.0.8. Check the advisory for supported release branches.

Source: OSV GHSA-pq4g-8rxf-4g29

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
crass
rgrove
< 1.0.8 (affected) CNA: GitHub_M
crass

crass
RubyGems
0.0.1 (affected, RubyGems)
0.0.2 (affected, RubyGems)
0.1.0 (affected, RubyGems)
0.2.0 (affected, RubyGems)
0.2.1 (affected, RubyGems)
1.0.0 (affected, RubyGems)
1.0.1 (affected, RubyGems)
1.0.2 (affected, RubyGems)
1.0.3 (affected, RubyGems)
1.0.4 (affected, RubyGems)
1.0.5 (affected, RubyGems)
1.0.6 (affected, RubyGems)
1.0.7 (affected, RubyGems)
Ecosystem version events: introduced 0; fixed 1.0.8
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "1.0.8"
  }
]

Other versions: unaffected
OSV GHSA-pq4g-8rxf-4g29

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 5.3
medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NCNA: GitHub_M

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide