High severity · published Oct 28, 2026
CVE-2026-118659
@happy-dom/server-renderer: ServerRendererServer Target-Origin Bypass SSRF / Open Proxy
New
7.5
CVSS
–
EPSS
No
On KEV
Description
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 21.0.2, the Happy DOM server-renderer package's ServerRendererServer accepts unauthenticated HTTP/2 requests and resolves attacker-controlled :path values against server.targetOrigin in #onIncomingRequest in packages/@happy-dom/server-renderer/src/ServerRendererServer.ts without confirming that the resolved origin remains trusted before calling fetch. A protocol-relative path can change the destination to an arbitrary HTTP or HTTPS endpoint reachable by the server, including local and internal services, and the proxy relays the fetched response headers and body to the requester. This issue is fixed in version 21.0.2.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HA
happy-dom · capricorn86
< 21.0.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-118659
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-118659
github.com
https://github.com/capricorn86/happy-dom/commit/1f3ffdf634231361de1a2acb629b4fe8ee1bd85d
github.com
https://github.com/capricorn86/happy-dom/pull/2520
github.com
https://github.com/capricorn86/happy-dom/releases/tag/v21.0.2
github.com
https://github.com/capricorn86/happy-dom/security/advisories/GHSA-pmf4-3xr3-xjhg
More from happy-dom
9.8
CVE-2026-33943
Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable code
9.4
CVE-2025-62410
--disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom
8.8
CVE-2026-115895
Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution
8.6
CVE-2026-118660
Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML
7.5
CVE-2026-34226
Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies
