CVE-2026-9358
Description
A vulnerability was determined in postcss-selector-parser up to 6.1.2/7.1.2. 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. Upgrading to version 6.1.3 and 7.1.3 is able to address this issue. This patch is called 5bc698cef66f8abd12610dc623e5d67cbc0f869d. It is suggested to upgrade the affected component. 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)." The commits were backported to 6.x branch, which was the most downloaded version.
Weakness
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-29 |
Timeline
- 2026-05-24Published by the CNA05:30 UTC
- 2026-05-26GitHub advisory published (GHSA-w9m9-85wc-3x92)2 days after publication
- 2026-05-29CISA SSVC decision recorded5 days after publication
Exploit and advisory records
GitHub advisory GHSA-w9m9-85wc-3x92, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm postcss-selector-parser | from 6.1.0 before 6.1.3 | 6.1.3 |
| npm postcss-selector-parser | from 7.1.0 before 7.1.3 | 7.1.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| postcss-selector-parser postcss-selector-parser |
References
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67cbc0f869d
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3
- https://gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9
- https://vuldb.com/cve/CVE-2026-9358
- https://vuldb.com/submit/813080
- https://vuldb.com/vuln/365321
- https://vuldb.com/vuln/365321/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-9358'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-9358'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-9358'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-9358'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).