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.
https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj
https://github.com/rgrove/crass/releases/tag/v1.0.7
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-114324
http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5
Published: 2026-10-30
Updated: 2026-11-06
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
Base Score: 6.3
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
Severity: Medium
EPSS: 0.00486