Description
happy-dom v20.8.9 makes real server-side HTTP requests to arbitrary URLs when parsing HTML containing <iframe> or <link rel="stylesheet"> elements. This behavior is enabled by default (disableIframePageLoading: false, disableCSSFileLoading: false).
Recommendation
Update the happy-dom package to the latest compatible version. Followings are version details:
- Affected version(s): <= 20.14.6
- Patched version(s): 21.0.0
References
Could your website be exposed too?
SmartScanner can check your website for Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML and gives you actionable findings to investigate.
Start a free scanRelated Issues
- SunEditor Embed Plugin has DOM XSS via External Script Element After Iframe Embed - CVE-2026-54606
- Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookies - CVE-2026-118661
- Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution - CVE-2026-115895
- ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, - CVE-2026-113650


