cvelo
P3 · MediumCVSS 5.9

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

  • CVE-2026-144684
  • GHSA-73q4-x9m2-5h2r
  • EUVD-2026-143979

Summary

postcss-selector-parser versions before 6.1.6 and 7.x before 7.1.8 contain a denial of service flaw in src/parser.js that allows remote attackers to exhaust CPU through quadratic-time selector parsing. By supplying tens of kilobytes of crafted selectors that exercise splitWord(), space(), parenthesis handling, or cssesc backslash escaping, an attacker can block the Node.js event loop for seconds. The record carries a CVSS score of 5.9 and is not in the CISA known exploited vulnerabilities list. Teams that run this package on untrusted selector input should plan to upgrade to 6.1.6 or 7.1.8 or later.

AI summary · verify against the vendor advisory

Description

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.

Text from the CVE.org record.

Affected

  • postcss postcss-selector-parser

    • from 4.0.0-rc.0 to before 6.1.6
    • from 7.0.0 to before 7.1.8

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.