SCA: security update for happy-dom (GHSA-5fpq-26gf-qwcr)

medium Tenable Cloud Security Plugin ID 477828

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to
20.14.6, Happy DOM's CookieContainer in src/cookie/CookieContainer.ts does not correctly validate or match
Domain cookie attributes. It can accept a Domain unrelated to the origin setting the cookie, including a
public suffix, and separately treats an unrelated suffix-sharing hostname as a match because
cookieMatchesURL does not enforce a DNS-label boundary. In server-side rendering and prerendering
applications that contact attacker-controlled origins and then make requests to a victim origin, these
behaviors can plant and deliver a forged cookie, enabling cookie injection or session fixation. This issue
is fixed in version 20.14.6. (CVE-2026-118661)

Solution

Update the happy-dom library and its related packages to version 20.14.6 or later.

See Also

https://github.com/advisories/GHSA-5fpq-26gf-qwcr

Plugin Details

Severity: Medium

ID: 477828

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/29/2026

Updated: 10/29/2026

Risk Information

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-118661

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/28/2026

Vulnerability Publication Date: 10/28/2026

Reference Information

CVE: CVE-2026-118661

cwe: CWE-565