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
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=xenialOther threats | Affected
| 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.