Read the docs

Slow parsing in postcss-selector-parser allows denial of service

Priority LOW 38CWE-407Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.

Summary

The postcss-selector-parser package from 4.0.0-rc.0 before 6.1.6 and from 7.0.0 before 7.1.8 parses selectors in quadratic time, which is CWE-407. A remote attacker can supply tens of kilobytes of crafted selectors to exhaust CPU and block the Node.js event loop for seconds.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00974 63rd percentileScored 2026-12-04
Fix Fixed postcss-selector-parser (postcss): 6.1.6, 7.1.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
postcsspostcss-selector-parser4.0.0-rc.0 to before 6.1.6; 7.0.0 to before 7.1.86.1.6, 7.1.8Patch availableCNA
  • postcss-selector-parser Vendorpostcss Affected 4.0.0-rc.0 to before 6.1.6; 7.0.0 to before 7.1.8 Fixed in 6.1.6, 7.1.8 Patch available CNA

Remediation

Upgrade postcss-selector-parser to version 6.1.6 or 7.1.8.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA postcss-selector-parser (postcss) Fixed in 6.1.6, 7.1.8

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144684
  2. 2026-12-04 Alias added: GHSA-73q4-x9m2-5h2r
  3. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-33367 PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments CVSS 3.1CRITICAL 9.1
  • TI-2026-51730 PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure CVSS 3.1HIGH 7.5
  • TI-2026-48533 Information disclosure in postcss CVSS 4.0MEDIUM 6.3
  • TI-2026-29908 PostCSS has XSS via Unescaped </style> in its CSS Stringify Output CVSS 3.1MEDIUM 6.1
  • TI-2021-06075 Regular expression denial of service (ReDoS) in postcss CVSS 3.1HIGH 7.5
  • TI-2023-23794 An issue was discovered in PostCSS before 8.4.31. CVSS 3.1MEDIUM 5.3
See all 8 →

Sources