css_parser vulnerabilities

A set of classes for parsing CSS in Ruby.

Registry
RubyGems
Latest
3.4.0
License
MIT

2 known advisories

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

Update to the latest version:bundle update --conservative css_parser # Gemfile: '>= 3.4.0'

Is your project on an affected css_parser?

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 css_parser

  • HighCVE-2026-53727GHSA-9pmc-p236-855h9 Jul 2026

    Ruby CSS Parser: SSRF and Local File Disclosure in `CssParser::Parser#read_remote_file`

    Affected
    <3.0.0
    Fixed in
    3.0.0
  • MediumCVE-2026-44312GHSA-ff6c-w6qf-7xqc7 May 2026

    CSS Parser: Improper Certificate Validation allows MITM injection of remote CSS content

    Affected
    >=2.0.0 <2.1.0 · <1.22.0
    Fixed in
    1.22.0, 2.1.0

Is your css_parser version vulnerable?

Which of your client projects still run an old css_parser?

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.