4.7

CVE-2026-128069: rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls

Received
AliasesGHSA-h7wh-q2qr-458cCGA-695f-mx22-8r39CGA-6gpw-47m8-5wq8
Published 13-11-2026Last modified 18-11-2026

Vulnerability summary

CVE-2026-128069 is a medium (CVSS 4.7) vulnerability in rails rails-html-sanitizer. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.7/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.22%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 13-11-2026
    PublishedVulnerability first disclosed.
  2. 18-11-2026
    Last modifiedVulnerability information updated.

Description

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Before 1.7.2, the HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse one Rails::HTML::PermitScrubber across calls and mutate its tags and attributes without synchronization. In a multithreaded process, concurrent sanitize calls using different tags: or attributes: options can interleave and cause one call to use the other call's allowlist. If a permissive call admits a script element or event-handler attribute, output expected to be sanitized under a stricter policy can retain it and cause cross-site scripting when rendered. Applications that are single-threaded, use one identical allowlist everywhere, or provide a separate scrubber: are not affected. This issue is fixed in version 1.7.2.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

14-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard16 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded)
  • gitlab-rails-ce-18.8All versions (No fix recorded)
Debian1 product
  • ruby-rails-html-sanitizerAll versions (No fix recorded) | < 1.7.2-1
Rails1 product
RubyGems1 product
  • rails-html-sanitizer< 1.7.2
Ubuntu1 product
  • ruby-rails-html-sanitizerAll versions (No fix recorded)

5 vendors · 20 products

References

11 links
Show all 11 references