{"id":"CVE-2026-145167","summary":"domutils 1.1.0 before 4.1.0 Stack Overflow via getText() Uncontrolled Recursion","details":"domutils 1.1.0 before 4.1.0 contains an uncontrolled recursion vulnerability in getText(), textContent() and innerText() in src/stringify.ts that allows attackers to exhaust the call stack. Attackers can supply HTML or XML documents with about 10,000 nested levels to trigger a RangeError, failing requests or terminating the Node.js process.","aliases":["GHSA-f3vc-4w2g-4762"],"modified":"2026-12-04T18:45:48.388951543Z","published":"2026-12-04T16:30:57.344Z","database_specific":{"cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145167.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145167.json"},{"type":"PACKAGE","url":"https://github.com/fb55/domutils"},{"type":"ARTICLE","url":"https://github.com/fb55/domutils/blob/v4.0.2/src/stringify.ts#L50-L90"},{"type":"FIX","url":"https://github.com/fb55/domutils/commit/22fd0ad6c58ef9d2e35363310dc4976c767952eb"},{"type":"ADVISORY","url":"https://github.com/fb55/domutils/releases/tag/v4.1.0"},{"type":"ADVISORY","url":"https://github.com/fb55/domutils/security/advisories/GHSA-f3vc-4w2g-4762"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145167"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/domutils-1.1.0-before-4.1.0-stack-overflow-via-gettext-uncontrolled-recursion"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fb55/domutils","events":[{"introduced":"0"},{"fixed":"423aacc5a05c1c615f6cef088d6cd59e1b681e29"},{"fixed":"22fd0ad6c58ef9d2e35363310dc4976c767952eb"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.1.0"},{"fixed":"4.1.0"}]},{"range":[{"fixed":"22fd0ad6c58ef9d2e35363310dc4976c767952eb"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v4.1.0","range":[{"fixed":"423aacc5a05c1c615f6cef088d6cd59e1b681e29"}],"source":"REFERENCES_TAG"}]}}],"versions":["v4.0.2","v4.0.1","v4.0.0","v3.2.2","v3.2.1","v3.2.0","v3.1.0","v3.0.1","v3.0.0","v2.8.0","v2.7.0","v2.6.0","v2.5.2","v2.5.1","v2.5.0","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.7.0","v1.6.2","v1.6.0","v1.5.0","v1.4.3","v1.4.2","v1.4.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145167.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}