Skip to content
Fencer Intel
medium 5.1

CVE-2026-73648 json

rails-html-sanitizer: Possible XSS vulnerability with certain configurations

published 3mo ago modified 16d ago also EUVD-2026-58191 , GHSA-cj75-f6xr-r4g7

cvss
5.1
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems rails-html-sanitizer 1.7.1
  • rubyonrails html_sanitizer 1.7.1
  • rubyonrails rails_html_sanitizers 1.7.1
  • ruby-rails-html-sanitizer Debian 14 1.7.1-1

debian advisories DEBIAN-CVE-2026-73648

  • hawk2 SLE High Availability Extension 16.0, SLES for SAP applications 16.0 2.7.2+git.1788518533.7d4dadd6-160000.1.1
  • rubygem-rails-html-sanitizer SLE High Availability Extension 15 SP7, SLE High Availability Extension 15 SP6, SLE High Availability Extension 15 SP5 +1 more 1.0.4-150000.4.9.1

suse advisories SUSE-SU-2026:24195-1SUSE-SU-2026:24250-1SUSE-SU-2026:4445-1

  • hawk2 openSUSE Tumbleweed 2.7.2+git.1792148770.648dcddb-1.1
  • hawk2 openSUSE Leap 16.0 2.7.2+git.1788518533.7d4dadd6-160000.1.1

opensuse advisories openSUSE-SU-2026:12153-1openSUSE-SU-2026:22068-1

Is CVE-2026-73648 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-73648 updated cvss 5.4

rails-html-sanitizer: rails-html-sanitizer: Cross-Site Scripting vulnerability due to improper SVG sanitization

  • Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel9, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9 Red Hat Satellite 6 rubygem-rails-html-sanitizer 1.6.0-1.el8sat, rubygem-rails-html-sanitizer 1.6.0-1.el9sat
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Satellite 6 tfm-rubygem-graphql
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2mo ago

Exploit prediction

0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 4.0 5.1 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
CNA 4.0 5.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
rubygems rails-html-sanitizer
>=1.0.3, <1.7.1
1.7.1

Affected products

  • rails rails-html-sanitizer

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.