NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-9358: postcss-selector-parser allows denial of service through uncontrolled AST recursion

lowCVSS 4.0 2.1 · 3.1 4.3GHSA-w9m9-85wc-3x92

A vulnerability was determined in postcss-selector-parser before 6.1.3 and 7.1.1. Affected is the function toString of the file src/selectors/container.js of the component AST Serialization. Executing a manipulation can lead to uncontrolled recursion. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized.

Published May 26, 2026 · Updated Sep 1, 2026

Affected packages

postcss-selector-parser

Ecosystem
npm
Affected
>= 6.1.0, < 6.1.3
Fixed in
6.1.3
Check
npm ls postcss-selector-parser

postcss-selector-parser

Ecosystem
npm
Affected
>= 7.1.0, < 7.1.3
Fixed in
7.1.3
Check
npm ls postcss-selector-parser

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A vulnerability was determined in postcss-selector-parser before 6.1.3 and 7.1.1. Affected is the function toString of the file src/selectors/container.js of the component AST Serialization. Executing a manipulation can lead to uncontrolled recursion. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor explains, that according to his definition "DoS on server-side on user-generated CSS is low risk for us (since most users compile own CSS with PostCSS)."

Credited to MoOx.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries