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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| fb55 | domutils | {"startIncluding":"1.1.0","endExcluding":"4.1.0"} | 4.1.0 |
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
CWEs
CWE-674
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.