CVE-2026-144684 PUBLISHED

postcss-selector-parser before 6.1.6 and 7.1.8 Quadratic-Time Parsing Denial of Service

Assigner: VulnCheck
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS 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
CVSS Score: 8.2

Product Status

Vendor postcss
Product postcss-selector-parser
Versions Default: unaffected
  • affected from 4.0.0-rc.0 to 6.1.6 (excl.)
  • affected from 7.0.0 to 7.1.8 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Inefficient Algorithmic Complexity CWE