[ CVE-2026-118660 · Published 28 Oct 2026 ]
Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML
CVSS 8.6
EPSS <1%Fix available
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- happy-dom 21.0.0Fixed version · GitHub Advisories · npm package happy-dom: upgrade to 21.0.0 or later (affected <= 20.14.6)
[ Packages ]Affected open-source packages
- happy-dom npmAffected <= 20.14.6 · fixed in 21.0.0 · GHSA-c8p4-j97h-3vg8