Home › CVE › JavaScript
CVE-2026-144684 — postcss postcss-selector-parser
Summary
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.
Severity breakdown
High · 8.2
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-407: Inefficient Algorithmic Complexity
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| postcss postcss-selector-parser | ≥ 4.0.0-rc.0, < 6.1.6 | 6.1.6 |
| ≥ 7.0.0, < 7.1.8 | 7.1.8 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/postcss/postcss-selector-parser/commit/6e311aa71c1eff5423b79…
- github.com/postcss/postcss-selector-parser/commit/71504d19170efeb57f369…
- github.com/postcss/postcss-selector-parser/releases/tag/6.1.6
- github.com/postcss/postcss-selector-parser/releases/tag/7.1.8
Other references
Affected
- postcss postcss-selector-parser
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-144684?
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. Weakness type: Inefficient Algorithmic Complexity (CWE-407).
How severe is CVE-2026-144684?
CVE-2026-144684 has a CVSS 4.0 base score of 8.2 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-144684 being exploited?
Not as far as is known: CVE-2026-144684 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026.
Which versions are affected by CVE-2026-144684?
postcss postcss-selector-parser ≥ 4.0.0-rc.0, < 6.1.6 (fixed in 6.1.6); postcss postcss-selector-parser ≥ 7.0.0, < 7.1.8 (fixed in 7.1.8).
How do I fix CVE-2026-144684?
Update to a fixed release: postcss postcss-selector-parser 6.1.6; postcss postcss-selector-parser 7.1.8.