CVE-2026-61848
Severity not reportedCrass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification.
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. This issue is fixed in version 1.0.7.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5 security-advisories@github.com
- https://github.com/rgrove/crass/releases/tag/v1.0.7 security-advisories@github.com
- https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj security-advisories@github.com
