Echo: dompurify: security update to 3.4.0

medium Tenable Cloud Security Plugin ID 459658

Description

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

- DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions 3.0.1 through
3.3.3 are vulnerable to a prototype pollution-based XSS bypass. When an application uses
`DOMPurify.sanitize()` with the default configuration (no `CUSTOM_ELEMENT_HANDLING` option), a prior
prototype pollution gadget can inject permissive `tagNameCheck` and `attributeNameCheck` regex values into
`Object.prototype`, causing DOMPurify to allow arbitrary custom elements with arbitrary attributes —
including event handlers — through sanitization. Version 3.4.0 fixes the issue. (CVE-2026-41238)

Solution

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

See Also

https://advisory.echohq.com/cve/CVE-2026-41238

Plugin Details

Severity: Medium

ID: 459658

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/5/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.77

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

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

CVSS Score Source: CVE-2026-41238

CVSS v3

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 6

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/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: 9/28/2026

Vulnerability Publication Date: 4/22/2026

Reference Information

CVE: CVE-2026-41238