{"id":"CVE-2026-145166","aliases":["CLSA-2026-1796414055","EUVD-2026-144360","GHSA-5pwf-qwq7-cwxj","GHSA-gvm7-35px-v4r9"],"status":"published","title":"domutils 1.0.0 before 4.1.0 Stack Overflow via Uncontrolled Recursion in findOne()","description":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.","severity":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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":"medium","from":"ghsa"}]},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-674"],"published":"2026-12-04T16:30:58Z","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-5pwf-qwq7-cwxj","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/fb55/domutils/commit/687bf59247f6929ee3ec86fac95dd26dcb28a017","tags":["patch","fix"]},{"url":"https://github.com/fb55/domutils/commit/ac3ba78ab40b6d7627e3d33fc684ab9719626782","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/querying.ts#L93-L129","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/domutils-1.0.0-before-4.1.0-stack-overflow-via-uncontrolled-recursion-in-findone","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145166","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gvm7-35px-v4r9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145166.json","tags":["advisory"]},{"url":"https://github.com/fb55/domutils","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-145166","title":"domutils 1.0.0 before 4.1.0 Stack Overflow via Uncontrolled Recursion in findOne()","description":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.","status":"published","published":"2026-12-04T16:30:58.546Z","modified":"2026-12-04T16:30:58.546Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-674"],"updated_at":"2026-12-04T16:38:22.734676Z"}],"euvd":[{"id":"EUVD-2026-144360","description":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.","status":"published","published":"2026-12-04T16:30:58Z","modified":"2026-12-04T16:30:58Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-12-04T17:41:30.936086Z"}],"ghsa":[{"id":"GHSA-gvm7-35px-v4r9","title":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(),...","description":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.","status":"published","published":"2026-12-04T18:32:46Z","modified":"2026-12-04T18:32:56Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-674"],"updated_at":"2026-12-04T18:58:17.549656Z"}],"nvd":[{"id":"CVE-2026-145166","description":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.","status":"published","published":"2026-12-04T17:19:48.747Z","modified":"2026-12-04T18:29:11.153Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-674"],"updated_at":"2026-12-04T17:26:29.876621Z"}],"osv":[{"id":"CVE-2026-145166","title":"domutils 1.0.0 before 4.1.0 Stack Overflow via Uncontrolled Recursion in findOne()","description":"domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and getElementById() that allows attackers to exhaust the call stack with deeply nested documents. Attackers can supply HTML or XML with about 20,000 nested elements to trigger a RangeError, causing request failures or process termination.","status":"published","published":"2026-12-04T16:30:58.546Z","modified":"2026-12-04T18:00:35.026396378Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-674"],"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"}]}}
