CVE-2026-118659
Last modified
CVE-2026-118659 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| capricorn86 | happy-dom | < 21.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118659?
How severe is CVE-2026-118659?
How do I fix CVE-2026-118659?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118653Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.…5.3
- CVE-2026-118654Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo'…5.9
- CVE-2026-118655Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middl…5.9
- CVE-2026-118656Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, sanit…6.1
- CVE-2026-118657Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Conte…5.9
- CVE-2026-118658Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Conte…4.7
- CVE-2026-11866The Appointment Booking Plugin WordPress plugin before 5.6.…5.4
- CVE-2026-118660Happy DOM is a JavaScript implementation of a web browser wi…8.6
- CVE-2026-118661Happy DOM is a JavaScript implementation of a web browser wi…6.5
- CVE-2026-118662Vite is a frontend tooling framework for JavaScript. From 6.…6.9
- CVE-2026-118663@hono/node-server allows running the Hono application on Nod…5.3
- CVE-2026-118664decode-uri-component provides a more robust alternative to d…8.2
Are you affected by CVE-2026-118659?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
