{"id":"CVE-2026-145165","aliases":["CLSA-2026-1796414055","EUVD-2026-144361","GHSA-42h4-gpjh-8xhf","GHSA-7qxh-jj2g-65rc"],"status":"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.","severity":{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-407"],"published":"2026-12-04T16:30:59Z","modified":"2026-12-05T03:00:54Z","affected":[{"source":"osv","ecosystem":"TuxCare:npm","package":"domutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.2-tuxcare.0"},{"fixed":"4.0.2-tuxcare.1"}]}],"versions":["4.0.2"],"bundled":2}],"products":[{"vendor":"fb55","product":"domutils"}],"references":[{"url":"https://github.com/fb55/domutils/security/advisories/GHSA-42h4-gpjh-8xhf","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/fb55/domutils/commit/2c13c4f8db7838447659608e876099a8d1a28181","tags":["patch","fix"]},{"url":"https://github.com/fb55/domutils/commit/2c9cac0f3f6905cd91277b82493f1b13d921a1eb","tags":["patch","fix"]},{"url":"https://github.com/fb55/domutils/releases/tag/v4.1.0","tags":["release-notes","advisory"]},{"url":"https://github.com/fb55/domutils/blob/v4.0.2/src/helpers.ts#L11-L40","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/domutils-1.3.0-before-4.1.0-denial-of-service-via-removesubsets-inefficient-algorithm","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145165","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7qxh-jj2g-65rc"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145165.json","tags":["advisory"]},{"url":"https://github.com/fb55/domutils","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-145165","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.","status":"published","published":"2026-12-04T16:30:59.849Z","modified":"2026-12-04T19:13:07.883Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-407"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T19:19:00.476196Z"}],"euvd":[{"id":"EUVD-2026-144361","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.","status":"published","published":"2026-12-04T16:30:59Z","modified":"2026-12-04T19:13:07Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"updated_at":"2026-12-04T17:41:30.936086Z"}],"ghsa":[{"id":"GHSA-7qxh-jj2g-65rc","title":"domutils 1.3.0 before 4.1.0 contains an inefficient algorithm in removeSubsets() that allows...","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.","status":"published","published":"2026-12-04T18:32:46Z","modified":"2026-12-04T18:32:56Z","cvss":[{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-407"],"updated_at":"2026-12-04T18:58:17.549656Z"}],"nvd":[{"id":"CVE-2026-145165","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.","status":"published","published":"2026-12-04T17:19:48.563Z","modified":"2026-12-04T20:19:29.477Z","cvss":[{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-407"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T20:28:17.678597Z"}],"osv":[{"id":"CVE-2026-145165","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.","status":"published","published":"2026-12-04T16:30:59.849Z","modified":"2026-12-04T20:45:43.982335194Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-407"],"updated_at":"2026-12-04T18:22:15.144376Z"},{"id":"CLSA-2026-1796414055","upstream":["CVE-2026-145165","CVE-2026-145166"],"title":"TuxCare security update for domutils (2 CVEs)","description":"TuxCare rebuilt domutils to address 2 CVEs. Fixed in 4.0.2-tuxcare.1.","status":"published","published":"2026-12-04T20:54:15Z","modified":"2026-12-05T03:00:54.361454162Z","updated_at":"2026-12-05T03:12:49.613263Z"}]}}
