SCA: security update for rails-html-sanitizer (GHSA-cj75-f6xr-r4g7)

medium Tenable Cloud Security Plugin ID 445033

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. From 1.0.3 until
1.7.1, Rails::HTML::PermitScrubber restricted SVG reference elements in SVG_ALLOW_LOCAL_HREF only when
they used xlink:href, even though browsers also accept the plain href attribute. Applications with non-
default allowed tags that included SVG use or feImage elements could therefore permit external references;
a same-origin external SVG referenced by use could execute scripts in the sanitized document's context,
while feImage could load external images for tracking. Applications using the default allowed tags are not
affected. This issue is fixed in version 1.7.1. (CVE-2026-73648)

Solution

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

See Also

https://github.com/advisories/GHSA-cj75-f6xr-r4g7

Plugin Details

Severity: Medium

ID: 445033

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 7/22/2026

Updated: 8/14/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.74

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

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.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/21/2026

Vulnerability Publication Date: 7/21/2026

Reference Information

CVE: CVE-2026-73648

cwe: CWE-79