Home / postcss-selector-parser / postcss-selector-parser / CVE-2026-9358
CVE-2026-9358: is it exploited, and which versions of postcss-selector-parser are affected and fixed?
CVE-2026-9358 is an uncontrolled recursion vulnerability in postcss-selector-parser. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: postcss-selector-parser from 6.1.0 before 6.1.3 and postcss-selector-parser from 7.1.0 before 7.1.3 (GitHub advisory GHSA-w9m9-85wc-3x92). Fixed in 6.1.3 and 7.1.3 (GitHub advisory GHSA-w9m9-85wc-3x92). Severity: Medium (5.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-9358?
postcss-selector-parser AST Serialization container.js toString recursion
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.
From the CVE record by VulDB, last updated June 15, 2026, 07:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| postcss-selector-parser | 6.1.0 6.1.1 6.1.2 7.1.0 7.1.1 7.1.2 | 6.1.3, 7.1.3 |
As the CVE record by VulDB states it, last updated June 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | postcss-selector-parser | >= 6.1.0, < 6.1.3 | 6.1.3 | GHSA-w9m9-85wc-3x92 |
| npm | postcss-selector-parser | >= 7.1.0, < 7.1.3 | 7.1.3 | GHSA-w9m9-85wc-3x92 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 1, 2026. Summary: postcss-selector-parser allows denial of service through uncontrolled AST recursion.
How severe is CVE-2026-9358?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 4.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-9358 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 29, 2026)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 27.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-365321 | postcss-selector-parser AST Serialization container.js toString recursion vdb-entry, technical-description
- VDB-365321 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-9358 | CVE Analysis and Report third-party-advisory
- Submit #813080 | postcss-selector-parser postcss <= 7.1.1 CWE-674: Uncontrolled Recursion third-party-advisory
- https://gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9 exploit
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67cbc0f869d patch
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3 patch
Who found and reported it?
- bx33661 (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 23, 2026
- Published
- May 24, 2026, 05:30 UTC
- CVE record updated
- June 15, 2026, 07:21 UTC by VulDB
- NVD
- Deferred, last modified July 23, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-9358
Is CVE-2026-9358 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of postcss-selector-parser are affected by CVE-2026-9358?
postcss-selector-parser from 6.1.0 before 6.1.3 and postcss-selector-parser from 7.1.0 before 7.1.3, per the GitHub advisory GHSA-w9m9-85wc-3x92. The tables above give every range the sources list.
Which version fixes CVE-2026-9358?
6.1.3 and 7.1.3, per the GitHub advisory GHSA-w9m9-85wc-3x92. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-9358?
Medium (5.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-9358?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.