CVE-2026-9358
published medium CVSS 4.0 · 5.3postcss-selector-parser AST Serialization container.js toString recursion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postcss-selector-parser6.1.0 (affected) · 6.1.1 (affected) · 6.1.2 (affected) · 7.1.0 (affected) · 7.1.1 (affected) · 7.1.2 (affected) · 6.1.3 (unaffected) · 7.1.3 (unaffected) | Version-specific | Not stated | VulDB |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 5.0 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | postcss-selector-parser | 6.1.0 (affected)6.1.1 (affected)6.1.2 (affected)7.1.0 (affected)7.1.1 (affected)7.1.2 (affected)6.1.3 (unaffected)7.1.3 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-674 Uncontrolled Recursion
- CWE-404 Denial of Service
References
7- https://gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67cbc0f869d
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3
- CVE-2026-9358 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-9358
- Submit #813080 | postcss-selector-parser postcss <= 7.1.1 CWE-674: Uncontrolled Recursion https://vuldb.com/submit/813080
- VDB-365321 | postcss-selector-parser AST Serialization container.js toString recursion https://vuldb.com/vuln/365321
- VDB-365321 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/365321/cti
Provider assertions
2VulDB · cna
postcss-selector-parser AST Serialization container.js toString recursion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 681ca31eaa3e743520fc434e194070385ea57056d7324a470cd3b45cefb7a001
- Ingested
- 23 Sep 2026, 09:41:13 UTC
- Source record
- Official CVE record