Skip to main content
VulnerabilityPublished Updated

CVE-2026-73648: Ruby rails html sanitizer · rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails

Affects ruby-rails-html-sanitizerSource GCVE Database

0
Compare
Authoritative record:CVE-2026-73648· Medium 5.1

Not known to be exploited · CVSS 5.1 Medium · fixed in 1.7.1 : update ruby-rails-html-sanitizer when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.7.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=resoluteOther threatsAffected
  • =1.6.2-1
Fixed in–
Ubuntu 24.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=nobleOther threatsAffected
  • =1.4.4-1
Fixed in–
Ubuntu 22.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=jammyOther threatsAffected
  • =1.3.0-2
  • =1.4.2-1
  • =1.4.2-2
Fixed in–
Ubuntu 20.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=focalOther threatsAffected
  • =1.0.4-1
  • =1.3.0-1
Fixed in–
Ubuntu 18.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=bionicOther threatsAffected
  • =1.0.3-2
  • =1.0.4-1
Fixed in–
Ubuntu 16.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=xenialOther threatsAffected
  • =1.0.2-1
  • =1.0.3-1
  • =1.0.3-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…