CVE-2026-61846

MEDIUM CVSS 4.0: 6.3 EPSS 0.49%
Updated Oct 30, 2026
Ruby
Parameter Value
CVSS 6.3 (MEDIUM)
Fixed In 1.0.7
Type CWE-674
Vendor Ruby
Public PoC No

Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage.

Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)