CVE-2026-118659

published 28 Oct 2026 · updated 29 Oct 2026

@happy-dom/server-renderer: ServerRendererServer Target-Origin Bypass SSRF / Open Proxy

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
capricorn86<21.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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