Insertion of Sensitive Information Into Sent Data Affecting happy-dom package, versions <20.8.9


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (11th 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-JS-HAPPYDOM-15810980
  • published29 Mar 2026
  • disclosed27 Mar 2026
  • creditr74tech

Introduced: 27 Mar 2026

NewCVE-2026-34226  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade happy-dom to version 20.8.9 or higher.

Overview

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 Insertion of Sensitive Information Into Sent Data via the fetch requests when using the credentials: "include" option. An attacker can obtain cookies belonging to the page origin by initiating requests to a different target origin, potentially leading to unauthorized access to sensitive information.

CVSS Base Scores

version 4.0
version 3.1