postcss-selector-parser vulnerabilities

Selector parser with built in methods for working with selector strings.

Registry
npm
Latest
7.1.7
License
MIT

2 known advisories

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

Update to the latest version:npm install postcss-selector-parser@7.1.7

Security advisories for postcss-selector-parser

  • MediumGHSA-rj75-hqrm-r3gf5 Oct 2026

    PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion

    Affected
    <7.1.6
    Fixed in
    7.1.6
  • LowGHSA-w9m9-85wc-3x9226 May 2026

    postcss-selector-parser allows denial of service through uncontrolled AST recursion

    Affected
    >=6.1.0 <6.1.3 · >=7.1.0 <7.1.3
    Fixed in
    6.1.3, 7.1.3

Which of your client projects still run an old postcss-selector-parser?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml 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 npm packages

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