{"id":"CVE-2026-144684","summary":"postcss-selector-parser before 6.1.6 and 7.1.8 Quadratic-Time Parsing Denial of Service","details":"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.","aliases":["GHSA-67xj-gfww-g738"],"modified":"2026-12-04T03:00:27.614684176Z","published":"2026-12-04T01:37:13.548Z","database_specific":{"cwe_ids":["CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144684.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144684.json"},{"type":"PACKAGE","url":"https://github.com/postcss/postcss-selector-parser"},{"type":"ARTICLE","url":"https://github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js#L1005"},{"type":"ARTICLE","url":"https://github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js#L936"},{"type":"FIX","url":"https://github.com/postcss/postcss-selector-parser/commit/6e311aa71c1eff5423b79ad662b376755cfa4e65"},{"type":"FIX","url":"https://github.com/postcss/postcss-selector-parser/commit/71504d19170efeb57f3693c8dbdb86d8584d6278"},{"type":"ADVISORY","url":"https://github.com/postcss/postcss-selector-parser/releases/tag/6.1.6"},{"type":"ADVISORY","url":"https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.8"},{"type":"ADVISORY","url":"https://github.com/postcss/postcss-selector-parser/security/advisories/GHSA-67xj-gfww-g738"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144684"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/postcss-selector-parser-before-6.1.6-and-7.1.8-quadratic-time-parsing-denial-of-service"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/postcss/postcss-selector-parser","events":[{"introduced":"9f687044d8861299ffd02d8d89ea86c5bf218434"},{"fixed":"e5d96da52939856ffa138149ea57f25296354a8d"},{"introduced":"6158750aab0aed3046a5920bd58e0e0266a4ada2"},{"fixed":"7bb95410b210afdf2e4b204b38382cbcb4375c20"},{"fixed":"6e311aa71c1eff5423b79ad662b376755cfa4e65"},{"fixed":"71504d19170efeb57f3693c8dbdb86d8584d6278"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"4.0.0-rc.0"},{"fixed":"6.1.6"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"7.0.0"},{"fixed":"7.1.8"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"6e311aa71c1eff5423b79ad662b376755cfa4e65"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"71504d19170efeb57f3693c8dbdb86d8584d6278"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"7.1.8","range":[{"fixed":"7bb95410b210afdf2e4b204b38382cbcb4375c20"}]},{"source":"REFERENCES_TAG","original_tag":"6.1.6","range":[{"fixed":"e5d96da52939856ffa138149ea57f25296354a8d"}]}]}}],"versions":["6.1.5","7.1.7","7.1.6","7.1.5","7.1.4","6.1.4","7.1.3","6.1.3","v6.1.2","7.1.2","v7.1.1","v7.1.0","v7.0.0","v6.1.1","v6.1.0","v6.0.16","v6.0.15","v6.0.14","v6.0.13","v6.0.12","v6.0.11","v6.0.10","v6.0.9","v6.0.8","v6.0.7","v6.0.6","v6.0.5","v6.0.4","v6.0.3","6.0.2","6.0.1","6.0.0","5.0.0","5.0.0-rc.4","v5.0.0-rc.3","5.0.0-rc.2","v5.0.0-rc.1","v5.0.0-rc.0","v4.0.0","v4.0.0-rc.1","v4.0.0-rc.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144684.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}