{"schemaVersion":4,"id":"CVE-2026-118659","aliases":[],"status":"published","duplicateOf":null,"title":"@happy-dom/server-renderer: ServerRendererServer Target-Origin Bypass SSRF / Open Proxy","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.","dates":{"published":"2026-10-28T20:20:29.561Z","modified":"2026-10-29T18:27:45.701Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00483,"percentile":0.43303,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.09300000000000003,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0039},"history":[{"date":"2026-10-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00483,"percentile":0.43303}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00483,"percentile":0.43303}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-918","name":"Server-Side Request Forgery","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"capricorn86","product":"happy-dom","name":"happy-dom","label":"happy-dom","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 21.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"21.0.2","endInclusive":false}}],"versionsText":"< 21.0.2","eol":null,"hubHref":"/vendor/capricorn86/happy-dom"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-pmf4-3xr3-xjhg","label":"github.com/capricorn86/happy-dom/security/advisories/GHSA-pmf4-3xr3-xjhg","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/capricorn86/happy-dom/pull/2520","label":"github.com/capricorn86/happy-dom/pull/2520","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/capricorn86/happy-dom/commit/1f3ffdf634231361de1a2acb629b4fe8ee1bd85d","label":"github.com/capricorn86/happy-dom/commit/1f3ffdf634231361de1a2acb629b4fe8ee1bd85d","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/capricorn86/happy-dom/releases/tag/v21.0.2","label":"github.com/capricorn86/happy-dom/releases/tag/v21.0.2","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-28T20:20:29.561Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-29T18:27:45.701Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 21.0.2 (CNA); fix release not confirmed","rank":[0,0,0,0,0,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00483,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-29T18:27:45.701Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-29T18:27:45.701Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-29T18:27:17.941Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00483,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:48:44.138Z","stale":false,"partial":false}}