GHSA-w9m9-85wc-3x92
postcss-selector-parser allows denial of service through uncontrolled AST recursion
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-9358
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- CVSS_V4
- 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
Description
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)."
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · postcss-selector-parser | introduced 6.1.0, fixed 6.1.3 |
| npm · postcss-selector-parser | introduced 7.1.0, fixed 7.1.3 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-9358 ADVISORY
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67cbc0f869d WEB
- https://github.com/postcss/postcss-selector-parser/commit/e37c5b0b785b165e27508d2489fdec8e0f18b10a WEB
- https://gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9 WEB
- https://github.com/postcss/postcss-selector-parser PACKAGE
- https://github.com/postcss/postcss-selector-parser/releases/tag/6.1.3 WEB
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3 WEB
- https://vuldb.com/cve/CVE-2026-9358 WEB
- https://vuldb.com/submit/813080 WEB
- https://vuldb.com/vuln/365321 WEB
- https://vuldb.com/vuln/365321/cti WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |