CVE-2026-118660

GHSA-c8p4-j97h-3vg8 · published 28 Oct 2026 · updated 29 Oct 2026

Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML

8.6HighCVSS 8.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in happy-dom 21.0.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
capricorn86<21.0.0
npm: happy-dom<=20.14.621.0.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in happy-dom (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118660 severity on Zeptric[![CVE-2026-118660](https://zeptric.io/badge/cve/CVE-2026-118660.svg)](https://zeptric.io/cve/CVE-2026-118660)