SSRF in Capricorn86 Happy-Dom
CVE-2026-118659
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Capricorn86 Happy-Dom — versions < 21.0.2
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-118659?
- CVE-2026-118659 is a high-severity vulnerability in Capricorn86 Happy-Dom, classified under Server-Side Request Forgery (SSRF). CVSS score: 7.5/10. Published 2026-10-28.
- How severe is CVE-2026-118659?
- High severity. CVSS v3 base score is 7.5 out of 10.