SCA: security update for @jitbit/htmlsanitizer (GHSA-vhv4-fh94-jm5x)

medium Tenable Self-Hosted Container Security Plugin ID 421132

Description

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

- HtmlSanitizer is a client-side HTML Sanitizer. Versions prior to 2.0.3 have a cross-site scripting
vulnerability when the sanitizer is used with a `contentEditable` element to set the elements `innerHTML`
to a sanitized string produced by the package. If the code is particularly crafted to abuse the code
beautifier, that runs AFTER sanitation. The issue is patched in version 2.0.3. (CVE-2025-29771)

See Also

https://github.com/advisories/GHSA-vhv4-fh94-jm5x

Plugin Details

Severity: Medium

ID: 421132

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 3/15/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.07

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2025-29771

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: 3/14/2025

Vulnerability Publication Date: 3/14/2025

Reference Information

CVE: CVE-2025-29771

cwe: CWE-79