SCA: security update for sanitize (GHSA-fw3g-2h3j-qmm7)

medium Tenable Cloud Security Plugin ID 414721

Description

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

- Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 and later, prior to 6.0.1, are
vulnerable to Cross-site Scripting. When Sanitize is configured with a custom allowlist that allows
`noscript` elements, attackers are able to include arbitrary HTML, resulting in XSS (cross-site scripting)
or other undesired behavior when that HTML is rendered in a browser. The default configurations do not
allow `noscript` elements and are not vulnerable. This issue only affects users who are using a custom
config that adds `noscript` to the element allowlist. This issue has been patched in version 6.0.1. Users
who are unable to upgrade can prevent this issue by using one of Sanitize's default configs or by ensuring
that their custom config does not include `noscript` in the element allowlist. (CVE-2023-23627)

See Also

https://github.com/advisories/GHSA-fw3g-2h3j-qmm7

Plugin Details

Severity: Medium

ID: 414721

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

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-2023-23627

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/28/2023

Vulnerability Publication Date: 1/27/2023

Reference Information

CVE: CVE-2023-23627

cwe: CWE-79