CVE-2026-144684: Vulnerability in Postcss-selector-parser
Patch soon. 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.
CWE-407
- Exploitation
- None confirmed
- Severity
- 8.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-73q4-x9m2-5h2r
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-407
- Published
- 4 Dec 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- Postcss-selector-parser From 4.0.0-rc.0 before 6.1.6; From 7.0.0 before 7.1.8. Fixed in 6.1.6, 7.1.8
- Postcss-selector-parser From 7.0.0 before 7.1.8; From 4.0.0-rc.0 before 6.1.6. Fixed in 7.1.8, 6.1.6
Advisories
Vendor and security advisories
- github.com/postcss/postcss-selector-parser/security/advisories/GHSA-67xj-gfww-g738
- github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js
Patches and fixes
Updates, commits and release notes
- github.com/postcss/postcss-selector-parser/commit/6e311aa71c1eff5423b79ad662b376755cfa4e65
- github.com/postcss/postcss-selector-parser/commit/71504d19170efeb57f3693c8dbdb86d8584d6278
- github.com/postcss/postcss-selector-parser/releases/tag/7.1.8
- github.com/postcss/postcss-selector-parser/releases/tag/6.1.6
Related
- Postcss-selector-parser vulnerabilities Recent advisories, watch this product
- Postcss-selector-parser vulnerabilities Recent advisories, watch this product