Impact
The vulnerability in PostCSS Selector Parser introduces quadratic time complexity during parsing of flat CSS selectors, a flaw that is an instance of resource exhaustion (CWE-400), inefficient algorithm design (CWE-407), and uncontrolled input handling (CWE-606). A crafted selector can cause the parser thread to consume excessive CPU, leading to denial of service for applications that parse untrusted selectors synchronously.
Affected Systems
All versions of postcss-selector-parser prior to 7.1.6 are affected; the flaw impacts consumers that synchronously parse user‑supplied selectors in request paths, while build‑time or trusted parsing scenarios are not affected.
Risk and Exploitability
With a CVSS score of 5.9 the vulnerability is rated medium, EPSS data is unavailable, and it is not listed in the CISA KEV; exploitation requires delivering a malicious selector through an exposed request path and can degrade performance without compromising data integrity.
OpenCVE Enrichment
Github GHSA