PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-128069 rails CVE debrief

CVE-2026-128069 rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls. The CVE record was published on 2026-11-13T18:09:16.000Z and has not been modified since then. The NVD entry is currently 4.7 MEDIUM. This debrief provides defensive context for CVE-2026-128069, a cross-site scripting vulnerability in the rails-html-sanitizer library. Defenders should assess exposure in multi-threaded server environments, particularly those using Puma, and prioritize verification of affected versions and remediation.

Vendor
rails
Product
rails-html-sanitizer
CVSS
MEDIUM 4.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-13
Original CVE updated
2026-11-18
Advisory published
2026-11-13
Advisory updated
2026-11-18

Who should care

Defenders managing multi-threaded server environments, particularly those using Puma, should assess exposure and prioritize verification of affected versions and remediation. This includes reviewing the current versions of rails-html-sanitizer in use, identifying potential attack vectors, and implementing compensating controls to prevent concurrent sanitization with permissive allowlists. Additionally, defenders should verify if their applications use the

Why it matters

CVE-2026-128069 is a cross-site scripting vulnerability in rails-html-sanitizer that can be exploited in multi-threaded server environments, particularly those using Puma. Defenders should assess exposure, verify affected versions, and prioritize remediation to prevent exploitation.

  • Cross-site scripting vector introduction via interleaved sanitization calls
  • Potential for attackers to exploit concurrent sanitization with permissive allowlists
  • Need for verification of affected versions and remediation in multi-threaded server environments
  • Prioritization of compensating controls to prevent exploitation

Technical summary

The rails-html-sanitizer library shares a PermitScrubber instance across sanitization calls, allowing interleaved calls with different allowlists to introduce a cross-site scripting vector in multi-threaded server environments. This vulnerability can be exploited in environments using Puma, where Action View memoizes a single SafeListSanitizer per helper module and uses it for every sanitize call in the process. If any code path calls sanitize with a more permissive allowlist, an attacker who can trigger that path concurrently with another request can cause the other request to be sanitized with the permissive allowlist. This can lead to the introduction of a cross-site scripting vector when the strict output

Defensive priority

Defenders should prioritize verifying if their applications use rails-html-sanitizer versions < 1.7.2 and implement compensating controls to prevent concurrent sanitization with permissive allowlists.

Recommended defensive actions

  • Verify if applications use rails-html-sanitizer versions < 1.7.2
  • Implement compensating controls to prevent concurrent sanitization with permissive allowlists
  • Prioritize upgrading to rails-html-sanitizer version 1.7.2 or later
  • Monitor for suspicious sanitization calls in multi-threaded server environments
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, including the shared PermitScrubber instance in Rails::HTML::SafeListSanitizer and the potential for interleaved sanitization calls to introduce a cross-site scripting vector.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-128069 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-128069

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-128069 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-128069

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-h7wh-q2qr-458c

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rails/rails-html-sanitizer/issues/228

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/GHSA-h7wh-q2qr-458c.yml

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.