PostCSS Selector Parser denial of service in CSS selector parsing
- Exploited
- No known exploitation
- Fix
- Fixed in 6.1.6, 7.1.8
- Who is exposed
- Not reported
Summary
postcss-selector-parser, a CSS selector parsing library, can be made to consume excessive CPU time when it processes specially crafted selectors, which can block the Node.js event loop for seconds. A remote attacker can trigger this without logging in by supplying tens of kilobytes of crafted selectors.
Written by a model
Original 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.
What to do
Upgrade to a fixed version: 6.1.6, 7.1.8.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-144684 (postcss-selector-parser before 6.1.6 and 7.1.8 Quadratic-Time Parsing Denial of Service), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-144684 (entry last updated 2026-12-04):
Affected:
- npm package postcss-selector-parser: from 4.0.0-rc.0, fixed in 6.1.6; from 7.0.0, fixed in 7.1.8
Fixed versions: 6.1.6, 7.1.8.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-144684 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144684 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/postcss/postcss-selector-parser/security/advisories/GHSA-67xj-gfww-g738
- https://github.com/postcss/postcss-selector-parser/commit/6e311aa71c1eff5423b79ad662b376755cfa4e65
- https://github.com/postcss/postcss-selector-parser/commit/71504d19170efeb57f3693c8dbdb86d8584d6278
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.8
- https://github.com/postcss/postcss-selector-parser/releases/tag/6.1.6
- https://github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js#L1005
- https://github.com/postcss/postcss-selector-parser/blob/7.1.7/src/parser.js#L936
- https://www.vulncheck.com/advisories/postcss-selector-parser-before-6.1.6-and-7.1.8-quadratic-time-parsing-denial-of-service
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-144684
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144684"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
- Reach10/20Affects npm packages
- Severity8.2/10CVSS 8.2
- No patch0/5No signal
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 40 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Evidence 10
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · postcss/postcss-selector-parser · Advisory GHSA-67xj-gfww-g738 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-144684 |
| Record | NVD · CVE-2026-144684 |
| Other links 7 | |
| Patch | GitHub · postcss/postcss-selector-parser · Commit 6e311aa7 |
| Patch | GitHub · postcss/postcss-selector-parser · Commit 71504d19 |
| Repository | GitHub · postcss/postcss-selector-parser · Release 7.1.8 |
| Repository | GitHub · postcss/postcss-selector-parser · Release 6.1.6 |
| Repository | GitHub · postcss/postcss-selector-parser · src/parser.js · L1005 |
| Repository | GitHub · postcss/postcss-selector-parser · src/parser.js · L936 |
| Link | vulncheck.com · advisories/postcss-selector-parser-before-6.1.6-and-7.1.8-quadratic-time-parsing-denial-of-service |
Questions about CVE-2026-144684
Is CVE-2026-144684 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-144684?
postcss-selector-parser (npm): from 4.0.0-rc.0 before 6.1.6; from 7.0.0 before 7.1.8.
Source: cve.now feed data
How do I fix CVE-2026-144684?
Upgrade to a fixed version: 6.1.6, 7.1.8.
Source: cve.now feed data
Related
- CVE-2026-104844PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion
- CVE-2026-9358postcss-selector-parser AST Serialization container.js toString recursion
- CVE-2026-73646PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure
- CVE-2026-45623PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
- CVE-2026-69153PostCSS: incomplete fix of CVE-2026-45623 — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset
- CVE-2026-41305PostCSS has XSS via Unescaped </style> in its CSS Stringify Output
No corrections so far. Something wrong on this page? Report an error.