Slow parsing in postcss-selector-parser allows denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
The postcss-selector-parser package from 4.0.0-rc.0 before 6.1.6 and from 7.0.0 before 7.1.8 parses selectors in quadratic time, which is CWE-407. A remote attacker can supply tens of kilobytes of crafted selectors to exhaust CPU and block the Node.js event loop for seconds.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
postcss-selector-parser before 6.1.6 and 7.x before 7.1.8 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic-time selector parsing in src/parser.js. Attackers can supply tens of kilobytes of crafted selectors exploiting splitWord(), space(), parenthesis handling, or cssesc backslash escaping to block the Node.js event loop for seconds.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade postcss-selector-parser to version 6.1.6 or 7.1.8.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA postcss-selector-parser (postcss) Fixed in 6.1.6, 7.1.8
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144684
- 2026-12-04 Alias added: GHSA-73q4-x9m2-5h2r
- 2026-12-04 CISA SSVC decision points changed
References
Patch 2
More postcss vulnerabilities
- TI-2026-33367 PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments CVSS 3.1CRITICAL 9.1
- TI-2026-51730 PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure CVSS 3.1HIGH 7.5
- TI-2026-48533 Information disclosure in postcss CVSS 4.0MEDIUM 6.3
- TI-2026-29908 PostCSS has XSS via Unescaped </style> in its CSS Stringify Output CVSS 3.1MEDIUM 6.1
- TI-2021-06075 Regular expression denial of service (ReDoS) in postcss CVSS 3.1HIGH 7.5
- TI-2023-23794 An issue was discovered in PostCSS before 8.4.31. CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-144684 · CVE Program
- CVE-2026-144684 · NVD
- FIRST EPSS
- GHSA-73q4-x9m2-5h2r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences