MEDIUMCVSS not yet scoredVulnerability
CVE-2026-61847
### 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).
Properties
- Ghsa id
- GHSA-wwpr-jff3-395c
- Severity
- medium
- Summary
- Crass: A large number of adjacent CSS comments can trigger a SystemStackError
- Last source
- GitHub Advisory Database
- Cve id
- CVE-2026-61847
- First seen by Signal
- 2026-10-29T19:55:32+00:00
- Is ghsa only
- false
- Retrieved at
- 2026-10-29T19:55:32+00:00
- Ghsa published
- 2026-10-29T16:35:23Z
- Source url
- https://github.com/advisories/GHSA-wwpr-jff3-395c
- Ghsa updated
- 2026-10-29T16:35:23Z
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Explore deeper with Ninja Signal's threat intelligence graph