GHSA-wwpr-jff3-395c - Crass: A large number of adjacent CSS comments can trigger a SystemStackError
### Impact
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`.
### Patches
This is fixed in Crass 1.0.7, which no longer recurses when discarding comments.
### Workarounds
Set the `:preserve_comments` option to `true` if this is acceptable to your use case (recursion doesn't occur when comments are preserved).
HIGH
Severity & confidence
Source severitymedium
Platform severityhigh
Confidenceconfirmed
Exploitationunknown
CVSS-
Affected
VendorscrassRed Hat
Productscrass
Reporting sources (3)
GitHub Security Advisories
Red Hat - CVE Feed
NIST NVD - National Vulnerability Database
Timeline & provenance
Published2026-10-29T16:35:23
Last updated2026-11-04T16:42:54
Ingested2026-10-29T16:43:21
FreshnessNEAR-REAL-TIME
Threat typeadvisory
Recommended action
Review the advisory and upgrade affected packages to the first patched version.
Next steps
- Identify affected systems in your environment.
- Apply the vendor patch or mitigation guidance.
- Review logs for indicators described in the advisory.
- Follow the affected vendor/product to track updates.
Confidence explanation
This object is reported by 3 independent sources.
Source type: vendor ยท Original: GitHub Security Advisories