{"id":"CVE-2026-145165","state":"PUBLISHED","title":"domutils 1.3.0 before 4.1.0 Denial of Service via removeSubsets() Inefficient Algorithm","description":"domutils 1.3.0 before 4.1.0 contains an inefficient algorithm in removeSubsets() that allows remote attackers to cause CPU exhaustion by supplying documents with many nested or sibling nodes. Attackers can submit crafted HTML or XML processed by css-select selectAll() or cheerio find() to block the Node.js event loop for seconds.","publishedAt":"2026-12-04T16:30:59.849Z","updatedAt":"2026-12-04T19:13:07.883Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["fb55 domutils"],"affected":[{"vendor":"fb55","product":"domutils","packageURL":"pkg:npm/domutils","defaultStatus":"unaffected","versions":[{"version":"1.3.0","status":"affected","lessThan":"4.1.0","versionType":"semver"}],"repo":"https://github.com/fb55/domutils"}],"references":["https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf","https://github.com/fb55/domutils/commit/2c13c4f8db7838447659608e876099a8d1a28181","https://github.com/fb55/domutils/commit/2c9cac0f3f6905cd91277b82493f1b13d921a1eb","https://github.com/fb55/domutils/releases/tag/v4.1.0","https://github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts#L11-L40","https://www.vulncheck.com/advisories/domutils-1.3.0-before-4.1.0-denial-of-service-via-removesubsets-inefficient-algorithm"],"weaknesses":["CWE-407"],"ingestedAt":"2026-12-04T19:18:05.845Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/145xxx/CVE-2026-145165.json","commit":"54d9956e58927bb2e234798e3c42bdd5ce28d687","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-145165","state":"PUBLISHED","datePublished":"2026-12-04T16:30:59.849Z","dateUpdated":"2026-12-04T19:13:07.883Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-12-04T16:25:54.064Z"},"containers":{"cna":{"title":"domutils 1.3.0 before 4.1.0 Denial of Service via removeSubsets() Inefficient Algorithm","descriptions":[{"lang":"en","value":"domutils 1.3.0 before 4.1.0 contains an inefficient algorithm in removeSubsets() that allows remote attackers to cause CPU exhaustion by supplying documents with many nested or sibling nodes. Attackers can submit crafted HTML or XML processed by css-select selectAll() or cheerio find() to block the Node.js event loop for seconds."}],"affected":[{"vendor":"fb55","product":"domutils","packageURL":"pkg:npm/domutils","defaultStatus":"unaffected","versions":[{"version":"1.3.0","status":"affected","lessThan":"4.1.0","versionType":"semver"}],"repo":"https://github.com/fb55/domutils"}],"references":[{"url":"https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-42h4-gpjh-8xhf)"},{"url":"https://github.com/fb55/domutils/commit/2c13c4f8db7838447659608e876099a8d1a28181","tags":["patch"]},{"url":"https://github.com/fb55/domutils/commit/2c9cac0f3f6905cd91277b82493f1b13d921a1eb","tags":["patch"]},{"url":"https://github.com/fb55/domutils/releases/tag/v4.1.0","tags":["release-notes"],"name":"domutils v4.1.0 Release Notes"},{"url":"https://github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts#L11-L40","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/domutils-1.3.0-before-4.1.0-denial-of-service-via-removesubsets-inefficient-algorithm","name":"VulnCheck Advisory: domutils 1.3.0 before 4.1.0 Denial of Service via removeSubsets() Inefficient Algorithm","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-12-04T16:30:59.849Z"},"datePublic":"2026-12-03T00:00:00.000Z","credits":[{"lang":"en","value":"Ugur Celik (ucsurf)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-04T19:12:36.202834Z","id":"CVE-2026-145165","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-12-04T19:13:07.883Z"}}]}}}