CVE catalog

CVE-2026-73648

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 o

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.55% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-rails-html-sanitizersid1.7.1-1fixed
Debianruby-rails-html-sanitizerforky1.7.1-1fixed
Debianruby-rails-html-sanitizertrixie1.6.2-1vulnerable
Debianruby-rails-html-sanitizerbookworm1.4.4-1vulnerable
Rubygemsrails-html-sanitizerNot reported1.7.1fixed
Suserubygem-rails-html-sanitizerlinux enterprise high availability extension 15 sp41.0.4-150000.4.9.1fixed
Suserubygem-rails-html-sanitizerlinux enterprise high availability extension 15 sp51.0.4-150000.4.9.1fixed
Suserubygem-rails-html-sanitizerlinux enterprise high availability extension 15 sp61.0.4-150000.4.9.1fixed
Suserubygem-rails-html-sanitizerlinux enterprise high availability extension 15 sp71.0.4-150000.4.9.1fixed
Ubunturuby-rails-html-sanitizer16.041.0.2-1vulnerable
Ubunturuby-rails-html-sanitizer16.041.0.3-1vulnerable
Ubunturuby-rails-html-sanitizer16.041.0.3-2vulnerable
Ubunturuby-rails-html-sanitizer18.041.0.3-2vulnerable
Ubunturuby-rails-html-sanitizer18.041.0.4-1vulnerable
Ubunturuby-rails-html-sanitizer20.041.0.4-1vulnerable
Ubunturuby-rails-html-sanitizer20.041.3.0-1vulnerable
Ubunturuby-rails-html-sanitizer22.041.3.0-2vulnerable
Ubunturuby-rails-html-sanitizer22.041.4.2-1vulnerable
Ubunturuby-rails-html-sanitizer22.041.4.2-2vulnerable
Ubunturuby-rails-html-sanitizer24.041.4.4-1vulnerable
Ubunturuby-rails-html-sanitizer26.041.6.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-rails-html-sanitizersourcesid1.7.1-1not yet assignedNot reportedNot reported
Debianruby-rails-html-sanitizersourceforky1.7.1-1not yet assignedNot reportedNot reported
Debianruby-rails-html-sanitizersourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianruby-rails-html-sanitizersourcebookworm(unfixed)not yet assignedNot reportedNot reported
Rubygemsrails-html-sanitizerrubygemsNot reported1.7.1Not reportedGHSA-CJ75-F6XR-R4G7Not reported
Suserubygem-rails-html-sanitizerrpmlinux enterprise high availability extension 15 sp41.0.4-150000.4.9.1Not reportedSUSE-SU-2026:4445-1Not reported
Suserubygem-rails-html-sanitizerrpmlinux enterprise high availability extension 15 sp51.0.4-150000.4.9.1Not reportedSUSE-SU-2026:4445-1Not reported
Suserubygem-rails-html-sanitizerrpmlinux enterprise high availability extension 15 sp61.0.4-150000.4.9.1Not reportedSUSE-SU-2026:4445-1Not reported
Suserubygem-rails-html-sanitizerrpmlinux enterprise high availability extension 15 sp71.0.4-150000.4.9.1Not reportedSUSE-SU-2026:4445-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.4.4-1 · all · bookworm

      Affected

      nvd · ruby-rails-html-sanitizer · debian · bookworm; nvd · ruby-rails-html-sanitizer · debian · 12

    • 1.4.4-1 · all · bookworm

      Affected

      nvd · ruby-rails-html-sanitizer · debian · bookworm; nvd · ruby-rails-html-sanitizer · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.6.2-1 · all · trixie

      Affected

      nvd · ruby-rails-html-sanitizer · debian · 13

    • 1.6.2-1 · all · trixie

      Affected

      nvd · ruby-rails-html-sanitizer · debian · 13

Observed:

References