SCA: security update for happy-dom (GHSA-c8p4-j97h-3vg8)

high Tenable Self-Hosted Container Security Plugin ID 477823

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
21.0.0, Happy DOM loads iframe src URLs and link rel="stylesheet" href URLs by default while parsing
untrusted HTML on the server because disableIframePageLoading and disableCSSFileLoading default to false.
An attacker who controls parsed HTML can therefore cause server-side requests to arbitrary internal or
cloud endpoints without an application opt-in and may expose confidential responses or credentials
returned by those endpoints. This issue is fixed in version 21.0.0. (CVE-2026-118660)

Solution

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

See Also

https://github.com/advisories/GHSA-c8p4-j97h-3vg8

Plugin Details

Severity: High

ID: 477823

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/29/2026

Updated: 10/29/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 50.53

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-118660

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/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-118660

cwe: CWE-918