Skip to main content
VulnerabilityPublished Updated

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

Affects ruby-rails-html-sanitizerSource GCVE Database

0
Compare
Authoritative record:CVE-2026-128068· Medium 5.3

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

Data as of 18 Nov 2026, 16:08 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 1.7.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=stonkingOther threatsAffected
  • =1.6.2-1
  • =1.7.0-2
  • =1.7.1-1
Fixed 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–

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

AI-suggested

Upgrade rails-html-sanitizer to version 1.7.2 or later, where this issue is fixed. Alternatively, ensure that the application does not customize allowed tags to include SVG reference elements with href or xlink:href attributes. No other mitigation is indicated.

Description

A vulnerability in rails-html-sanitizer versions 1.0.3 through 1.7.1 allows an attacker to cause quadratic CPU consumption via crafted HTML containing SVG reference elements with href or xlink:href attributes. This affects applications that customize allowed tags to include such SVG references. The default configuration is not affected. The issue is fixed in version 1.7.2.

References

Community reviews

Loading reviews…