# CVE-2026-118659: @happy-dom/server-renderer: ServerRendererServer Target-Origin Bypass SSRF / Open Proxy

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 21.0.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-28 · Modified: 2026-10-29
- Record: https://cvemate.com/vulnerability/CVE-2026-118659 · JSON: https://cvemate.com/vulnerability/CVE-2026-118659/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.483%, percentile 43.303%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- capricorn86 happy-dom: \< 21.0.2

## References

- <https://github.com/capricorn86/happy-dom/security/advisories/GHSA-pmf4-3xr3-xjhg>
- <https://github.com/capricorn86/happy-dom/pull/2520>
- <https://github.com/capricorn86/happy-dom/commit/1f3ffdf634231361de1a2acb629b4fe8ee1bd85d>
- <https://github.com/capricorn86/happy-dom/releases/tag/v21.0.2>

---

Data as of 2026-12-05T06:48:44.138Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
