Security mailing lists by PureSourceCode

CVE-2026-61847

MEDIUM 6.3CVSS 4.0

Crass: A large number of adjacent CSS comments can trigger a SystemStackError

Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the :preserve_comments option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a SystemStackError, denying service to the parsing application. Preserving comments avoids this recursive path. This issue is fixed in version 1.0.7.

Published
30 Oct 2026
Last modified
30 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-674
Also known as
GHSA-wwpr-jff3-395c
Sources
NVDJSONOSV GHSA-wwpr-jff3-395cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV RubyGems crass < 1.0.7 1.0.7

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 30 Oct 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.