crass vulnerabilities

Crass is a pure Ruby CSS parser based on the CSS Syntax Level 3 spec.

Registry
RubyGems
Latest
1.0.8
License
MIT

5 known advisories

The latest version, 1.0.8, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative crass # Gemfile: '>= 1.0.8'

Is your project on an affected crass?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for crass

  • MediumCVE-2026-61848GHSA-8vfg-2r28-hvhj29 Oct 2026

    Crass: Non-ASCII characters cause superlinear CPU consumption

    Affected
    <1.0.7
    Fixed in
    1.0.7
  • MediumCVE-2026-61847GHSA-wwpr-jff3-395c29 Oct 2026

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

    Affected
    <1.0.7
    Fixed in
    1.0.7
  • MediumCVE-2026-61846GHSA-6jxj-px6v-747w29 Oct 2026

    Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage

    Affected
    <1.0.7
    Fixed in
    1.0.7
  • MediumCVE-2026-116695GHSA-pq4g-8rxf-4g2928 Oct 2026

    Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass

    Affected
    <1.0.8
    Fixed in
    1.0.8
  • HighCVE-2026-61845GHSA-6wmf-3r64-vcwv20 Oct 2026

    Crass : Large numeric exponents cause CPU and memory denial of service

    Affected
    <1.0.7
    Fixed in
    1.0.7

Is your crass version vulnerable?

Which of your client projects still run an old crass?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.