CVE-2026-145167: domutils Uncontrolled Recursion
Published 2026-12-04 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update domutils to 4.1.0 or later on your normal schedule.
What to do
- Update domutils to version 4.1.0 or later. Versions from 1.1.0 up to, but not including, 4.1.0 are affected.
- Until it is patched, do not leave domutils reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Limit input size and nesting depth in front of the affected component.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| domutils | ≥ 1.1.0, < 4.1.0 | 4.1.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: availability is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | Low | Partial loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: Uncontrolled Recursion
Deeply nested input exhausts the stack and crashes the process.
Classified as CWE-674.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/fb55/domutils/commit/22fd0ad6c58ef9d2e35363310dc4976c767952eb
- Patchhttps://github.com/fb55/domutils/releases/tag/v4.1.0
- Advisoryhttps://github.com/fb55/domutils/security/advisories/GHSA-f3vc-4w2g-4762
- Advisoryhttps://www.vulncheck.com/advisories/domutils-1.1.0-before-4.1.0-stack-overflow-via-gettext-uncontrolled-recursion
- Advisoryhttps://github.com/fb55/domutils/security/advisories/GHSA-f3vc-4w2g-4762
- Referencehttps://github.com/fb55/domutils/blob/v4.0.2/src/stringify.ts#L50-L90