{"answers":{"affected":"4 open source packages ship an affected version, including postcss-selector-parser.","exploited":"There is no known exploitation of CVE-2026-104844 in the wild and no public exploit code.","fix":"Upgrade postcss-selector-parser to a fixed version for your release line: 6.1.5 or 7.1.6.","what":"CVE-2026-104844 is a medium-severity denial of service vulnerability in postcss-selector-parser, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-104844 and fix it if it is affected.\n\nWhat it is: CVE-2026-104844 is a medium-severity denial of service vulnerability in postcss-selector-parser, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-104844 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- postcss-selector-parser (npm): affected all versions; fixed in 6.1.5\n- postcss-selector-parser (npm): affected all versions; fixed in 6.1.5\n- postcss-selector-parser (npm): affected from 7.0.0; fixed in 7.1.6\n- postcss-selector-parser (npm): affected from 7.0.0; fixed in 7.1.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-104844/ (Markdown: https://insights.sbomify.com/CVE-2026-104844/index.md)","id":"CVE-2026-104844","markdown":"https://insights.sbomify.com/CVE-2026-104844/index.md","name":"CVE-2026-104844","record":{"aliases":["CLEANSTART-2026-BO15897","CLEANSTART-2026-FR22195","CLEANSTART-2026-OB13388","CLEANSTART-2026-ZC15270","CLEANSTART-2026-ZS54196","CLSA-2026-1791278836","CLSA-2026-1792473324","CLSA-2026-1792489723","CLSA-2026-1792489741","CLSA-2026-1792489830","ECHO-e536-c6d0-c60b","GHSA-rj75-hqrm-r3gf","MINI-3qv8-76cw-pmq4","MINI-7229-49f3-p778","MINI-cv9q-3qg8-9g97","MINI-p3x2-vgjw-gmhj","MINI-pcvc-fqm6-89qr","MINI-pqw4-276j-9x9v","MINI-vm8p-rv29-8c2w","MINI-wgv8-rrf7-mp75","openSUSE-SU-2026:12083-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PostCSS selector parser","requires_auth":"none","summary":"A crafted CSS selector causes quadratic complexity in PostCSS Selector Parser, leading to CPU exhaustion and denial of service in synchronous parsing contexts.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["npm","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion","id":"CVE-2026-104844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization","id":"CVE-2026-104845"},"packages":[{"ecosystem":"npm","fixed":["6.1.5"],"introduced":["0"],"last_affected":[],"package":"postcss-selector-parser","purl":null,"source":"GHSA-rj75-hqrm-r3gf"},{"ecosystem":"npm","fixed":["6.1.5"],"introduced":["0"],"last_affected":[],"package":"postcss-selector-parser","purl":"pkg:npm/postcss-selector-parser","source":"GHSA-rj75-hqrm-r3gf"},{"ecosystem":"npm","fixed":["7.1.6"],"introduced":["7.0.0"],"last_affected":[],"package":"postcss-selector-parser","purl":null,"source":"GHSA-rj75-hqrm-r3gf"},{"ecosystem":"npm","fixed":["7.1.6"],"introduced":["7.0.0"],"last_affected":[],"package":"postcss-selector-parser","purl":"pkg:npm/postcss-selector-parser","source":"GHSA-rj75-hqrm-r3gf"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.11.0-2.1"],"introduced":["0"],"last_affected":[],"package":"git-bug","purl":"pkg:rpm/opensuse/git-bug\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12083-1"}],"prev":{"headline":"uv: Path traversal on Windows through wheel extraction","id":"CVE-2026-104843"},"products":["postcss-selector-parser"],"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-02","vendors":["postcss"]},"summary":"A crafted CSS selector causes quadratic complexity in PostCSS Selector Parser, leading to CPU exhaustion and denial of service in synchronous parsing contexts.","url":"https://insights.sbomify.com/CVE-2026-104844/"}