Echo: dompurify: security update to 2.5.9

medium Tenable Self-Hosted Container Security Plugin ID 461866

Description

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

- DOMPurify 3.1.3 through 3.3.1 and 2.5.3 through 2.5.8, fixed in commit 2726c74, contain a cross-site
scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting five missing
rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex. Attackers can
include payloads like </noscript><img src=x onerror=alert(1)> in attribute values to execute JavaScript
when sanitized output is placed inside these unprotected rawtext contexts. (CVE-2026-0540)

Solution

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

See Also

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

Plugin Details

Severity: Medium

ID: 461866

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/3/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.62

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

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:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/28/2026

Vulnerability Publication Date: 3/3/2026

Reference Information

CVE: CVE-2026-0540