THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-rj75-hqrm-r3gf (medium) — PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion

[GHSA] GHSA-rj75-hqrm-r3gf (medium) — PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion

medgithub_advisoriesPublished 2026-10-05

GHSA-rj75-hqrm-r3gf Severity: medium CVE: CVE-2026-104844

PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion

### Impact

`.` and `#` are not word delimiters in the tokenizer, so a flat selector such as `.a.a.a...` reaches `splitWord()` as a single word token carrying n class or id indexes. Three passes scanned those index arrays linearly for every index, making the pars

Indicators of compromise

Original source: https://github.com/advisories/GHSA-rj75-hqrm-r3gf