CVE-2026-118659 @happy-dom/server-renderer: ServerRendererServer Target-Origin Bypass SSRF / Open Proxy
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| capricorn86 happy-dom | = < 21.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| capricorn86 happy-dom | = < 21.0.2 | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2563186 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/capricorn86/happy-dom/commit/1f3ffdf634231361de1a2acb629b4fe8ee1bd85d
- https://github.com/capricorn86/happy-dom/pull/2520
- https://github.com/capricorn86/happy-dom/releases/tag/v21.0.2
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-pmf4-3xr3-xjhg exploit
- ENISA EUVD EUVD-2026-112466 third-party-advisory