AploSec / Disclosures / CVE-2026-144684
postcss-selector-parser before 6.1.6 and 7.1.8 Quadratic-Time Parsing Denial of Service
CVE-2026-144684 · published 2026-12-04
In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.
Summary
CVE-2026-144684 affects postcss-selector-parser (npm) >= 4.0.0-rc.0, < 6.1.6, >= 7.0.0, < 7.1.8: Quadratic-Time Parsing Denial of Service (CWE-407). Fixed in 6.1.6, 7.1.8. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade postcss-selector-parser to the fixed release on your line: 6.1.6, 7.1.8. Releases in the affected ranges (>= 4.0.0-rc.0, < 6.1.6, >= 7.0.0, < 7.1.8) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-04 CVE published
References
- Referencehttps://github.com/postcss/postcss-selector-parser/security/advisories/GHSA-67xj-gfww-g738
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/postcss-selector-parser-before-6.1.6-and-7.1.8-quadratic-time-parsing-denial-of-service
- Fix commithttps://github.com/postcss/postcss-selector-parser/commit/6e311aa71c1eff5423b79ad662b376755cfa4e65
- Fix commithttps://github.com/postcss/postcss-selector-parser/commit/71504d19170efeb57f3693c8dbdb86d8584d6278
- Releasehttps://github.com/postcss/postcss-selector-parser/releases/tag/7.1.8
- Releasehttps://github.com/postcss/postcss-selector-parser/releases/tag/6.1.6
- Vulnerable codehttps://github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js#L1005
- Vulnerable codehttps://github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js#L936
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144684
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144684
- Severity
- High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- postcss-selector-parser
- Ecosystem
- npm
- Affected
- >= 4.0.0-rc.0, < 6.1.6, >= 7.0.0, < 7.1.8
- Fixed
- 6.1.6, 7.1.8
- Weakness
- CWE-407
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder