CVE-2026-128069: Ruby rails html sanitizer · rails-html-sanitizer is responsible for sanitizing HTML fragments in
Affects ruby-rails-html-sanitizerSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium · fixed in 1.7.2 : update ruby-rails-html-sanitizer when convenient.
Data as of 18 Nov 2026, 16:08 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.7 |
|---|
- Patch
- Available – fixed in 1.7.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 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 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-rails-html-sanitizerpkg:deb/ubuntu/ruby-rails-html-sanitizer?arch=source&distro=stonkingOther threats | 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– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade ruby-rails-html-sanitizer to version 1.7.2 or later, where this concurrency issue is fixed. Applications that are single-threaded, use identical allowlists everywhere, or provide separate scrubbers are not affected. No other specific mitigations are indicated.
Description
A concurrency issue in ruby-rails-html-sanitizer before version 1.7.2 allows cross-site scripting (XSS) due to unsynchronized mutation of allowlists in multithreaded environments. This affects the HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer, where concurrent sanitize calls can interleave and cause one call to use another's permissive allowlist, potentially allowing script elements or event-handler attributes to bypass sanitization.
References
- ubuntu.com/security/CVE-2026-128069 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-128069 (opens in a new tab)
- github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c (opens in a new tab)
- github.com/rails/rails-html-sanitizer/issues/228 (opens in a new tab)
- github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9 (opens in a new tab)
- github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2 (opens in a new tab)