SCA: security update for dompurify (GHSA-76mc-f452-cxcm)

medium Tenable Cloud Security Plugin ID 443237

Description

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

- DOMPurify before 3.4.7 (affected versions <= 3.4.5) passes direct references to the module-level
DEFAULT_ALLOWED_TAGS and DEFAULT_ALLOWED_ATTR sets to the uponSanitizeElement and uponSanitizeAttribute
hooks via data.allowedTags / data.allowedAttributes when sanitize is called without an explicit
cfg.ALLOWED_TAGS / cfg.ALLOWED_ATTR array. A hook that mutates these fields permanently widens the default
allow-lists for the lifetime of the DOMPurify instance, so all subsequent default-config sanitize calls
inherit the widened defaults and attacker payloads using the poisoned tag/attribute name survive
sanitization. removeAllHooks(), clearConfig(), and passing a fresh cfg do not recover the state; only
constructing a new DOMPurify instance does. (CVE-2026-65902)

Solution

Update the dompurify library and its related packages to version 3.4.7 or later.

See Also

https://github.com/advisories/GHSA-76mc-f452-cxcm

Plugin Details

Severity: Medium

ID: 443237

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 6/16/2026

Updated: 7/24/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.65

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-65902

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/15/2026

Vulnerability Publication Date: 6/15/2026

Reference Information

CVE: CVE-2026-65902