CVE-2026-61847
Published:October 29, 2026
Updated:October 30, 2026
When the ":preserve_comments" option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a "SystemStackError".
Affected Packages
https://github.com/rgrove/crass.git (GITHUB):
Affected version(s) >=v0.0.1 <v1.0.7 || >=v1.0.0 <v1.0.7Fix Suggestion:
Update to version v1.0.7crass (RUBY):
Affected version(s) >=0.0.1 <1.0.7 || >=1.0.0 <1.0.7Fix Suggestion:
Update to version 1.0.7Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
LOW
CVSS v3
Base Score:
5.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncontrolled Recursion