CVE-2026-145167
DESCRIPTION
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.
CVSS
MEDIUM 6.9 · v4.0
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:XWEAKNESSES
REFERENCES
- https://github.com/fb55/domutils/blob/v4.0.2/src/stringify.ts#L50-L90
- https://github.com/fb55/domutils/commit/22fd0ad6c58ef9d2e35363310dc4976c767952eb
- https://github.com/fb55/domutils/releases/tag/v4.1.0
- https://github.com/fb55/domutils/security/advisories/GHSA-f3vc-4w2g-4762
- https://www.vulncheck.com/advisories/domutils-1.1.0-before-4.1.0-stack-overflow-via-gettext-uncontrolled-recursion
- https://github.com/fb55/domutils/security/advisories/GHSA-f3vc-4w2g-4762
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.