Server-side Request Forgery (SSRF) Affecting org.webjars.npm:happy-dom package, versions [,21.0.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.41% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-21826831
  • published6 Nov 2026
  • disclosed28 Oct 2026
  • creditTharVid

Introduced: 28 Oct 2026

NewCVE-2026-118660  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:happy-dom to version 21.0.0 or higher.

Overview

org.webjars.npm:happy-dom is a Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via automatic loading of external resources in HTMLIFrameElement and HTMLLinkElement. When a document containing an <iframe src="..."> or <link rel="stylesheet" href="..."> element is parsed, happy-dom issues real HTTP requests to the specified URLs without any user opt-in, allowing an attacker who controls the rendered HTML to cause the server running happy-dom to make arbitrary outbound requests - including to internal network endpoints such as cloud metadata services.

CVSS Base Scores

version 4.0
version 3.1