SCA: security update for rails-html-sanitizer (GHSA-h7wh-q2qr-458c)

medium Tenable Self-Hosted Container Security Plugin ID 497599

Description

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

- rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Before 1.7.2, the
HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse one Rails::HTML::PermitScrubber across
calls and mutate its tags and attributes without synchronization. In a multithreaded process, concurrent
sanitize calls using different tags: or attributes: options can interleave and cause one call to use the
other call's allowlist. If a permissive call admits a script element or event-handler attribute, output
expected to be sanitized under a stricter policy can retain it and cause cross-site scripting when
rendered. Applications that are single-threaded, use one identical allowlist everywhere, or provide a
separate scrubber: are not affected. This issue is fixed in version 1.7.2. (CVE-2026-128069)

Solution

Update the rails-html-sanitizer library and its related packages to version 1.7.2 or later.

See Also

https://github.com/advisories/GHSA-h7wh-q2qr-458c

Plugin Details

Severity: Medium

ID: 497599

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.52

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-2026-128069

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

Vector: CVSS:3.0/AV:N/AC:H/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: 11/13/2026

Vulnerability Publication Date: 11/13/2026

Reference Information

CVE: CVE-2026-128069