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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-24
- Last modified
- 2026-07-23
- Assigned by
- cna@vuldb.com
- CVSS vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- cna@vuldb.com
- Probability of exploitation
-
0.3 %
higher than 25 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| n/a | postcss-selector-parser | 6.1.0 | Affected |
| n/a | postcss-selector-parser | 6.1.1 | Affected |
| n/a | postcss-selector-parser | 6.1.2 | Affected |
| n/a | postcss-selector-parser | 6.1.3 | Not affected |
| n/a | postcss-selector-parser | 7.1.0 | Affected |
| n/a | postcss-selector-parser | 7.1.1 | Affected |
| n/a | postcss-selector-parser | 7.1.2 | Affected |
| n/a | postcss-selector-parser | 7.1.3 | Not affected |
Weakness type
-
CWE-404: Improper Resource Shutdown or Release
The product does not release or incorrectly releases a resource before it is made available for re-use.
-
CWE-674: Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67…
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3
- https://vuldb.com/cve/CVE-2026-9358
- https://vuldb.com/submit/813080
- https://vuldb.com/vuln/365321
- https://vuldb.com/vuln/365321/cti
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.