CVE-2026-118660
highHappy DOM is a JavaScript implementation of a web browser without its graphical user interface.
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 21.0.0, Happy DOM loads iframe src URLs and link rel="stylesheet" href URLs by default while parsing untrusted HTML on the server because disableIframePageLoading and disableCSSFileLoading default to false. An attacker who controls parsed HTML can therefore cause server-side requests to arbitrary internal or cloud endpoints without an application opt-in and may expose confidential responses or credentials returned by those endpoints. This issue is fixed in version 21.0.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74 security-advisories@github.com
- https://github.com/capricorn86/happy-dom/pull/2502 security-advisories@github.com
- https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0 security-advisories@github.com
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8 security-advisories@github.com
