CVE-2026-104844: PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion
Vulnerability summary
CVE-2026-104844 is a medium (CVSS 5.9) Uncontrolled Resource Consumption vulnerability in postcss postcss-selector-parser. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 33% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-10-2026PublishedVulnerability first disclosed.
- 02-10-2026Last modifiedVulnerability information updated.
Description
PostCSS Selector Parser is a CSS selector parser that integrates with PostCSS but does not require it. Prior to 7.1.6, src/parser.js splitWord() can receive a flat selector as one word token carrying many class or ID indexes because period and hash characters are not tokenizer word delimiters. The uniqs() deduplication and per-index class and ID membership checks repeatedly scan the class and ID index arrays, while a separate Sass-interpolation filtering pass also performs repeated linear scanning. Together, these passes make parsing quadratic in the number of indexes and allow a crafted selector to occupy a synchronous parser thread. The maxNestingDepth guard does not mitigate the issue because the hostile selector can have zero nesting depth. Only consumers that synchronously parse untrusted selectors in an exposed request path are affected; ordinary build-time parsing of trusted sources is not affected. This issue is fixed in version 7.1.6.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.39% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-407Inefficient Algorithmic ComplexityAn algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard45 products
- actions-runner< 2.338.0-r1
- airflow-2All versions (No fix recorded)
- airflow-core-2All versions (No fix recorded)
- arangodb-3.11All versions (No fix recorded)
- arangodb-3.12All versions (No fix recorded) | < 3.12.12.1-r9
Wolfi6 products
- jupyter-base-notebook< 7.6.3-r2
- langfuse-3-workerAll versions (No fix recorded) | < 3.225.12-r2
- npm-12< 12.2.0-r2
- pulumi-language-nodejs< 3.268.0-r1
- renovateAll versions (No fix recorded) | < 44.133.0-r4
Npm1 product
- postcss-selector-parser< 7.1.6 | ≥ 7.0.0, < 7.1.6 | < 6.1.5
Opensuse1 product
- git-bug&distro=openSUSE Tumbleweed< 0.11.0-2.1
Postcss1 product
- postcss-selector-parser< 7.1.6
5 vendors · 54 products
References
10 links- github.com/postcss/postcss-selector-parser/security/advisories/GHSA-rj75-hqrm-r3gfX Refsource CONFIRMAdvisoryWEB