← Back to search

CVE-2026-118660

8.6 HIGHpublic exploit available

Published 2026-10-28 · Updated 2026-10-29

AI risk analysis

Summary
Happy DOM prior to v21.0.0 loads external iframe and stylesheet URLs by default during server-side HTML parsing, allowing an attacker who controls parsed HTML to trigger internal network requests and potentially exfiltrate sensitive responses or credentials.
Exploitability
Exploitation is straightforward for an attacker able to inject or control untrusted HTML content processed by Happy DOM on the server, with no authentication or user interaction required.
Blast radius
Successful exploitation could lead to Server-Side Request Forgery (SSRF) against internal services or cloud metadata endpoints, potentially exposing secrets, tokens, or internal system information.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Happy DOM version 21.0.0 or later, where disableIframePageLoading and disableCSSFileLoading default to true, preventing automatic loading of external resources during parsing.
ssrfserver-side-request-forgerywebjavascripthtml-parsing

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Weaknesses

CWE-918

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.