CVE-2026-128069
Last modified
CVE-2026-128069 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails-html-sanitizer | < 1.7.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-128069?
How severe is CVE-2026-128069?
How do I fix CVE-2026-128069?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-128053OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before …4.7
- CVE-2026-12806A vulnerability has been found in Edimax BR-6478AC V2 1.23. …8.8
- CVE-2026-128065@grpc/grpc-js implements the core functionality of gRPC pure…6.9
- CVE-2026-128066Pillow is a Python imaging library. From 1.0 through 12.3.0,…8.7
- CVE-2026-128067Pillow is a Python imaging library. From 2.3.0 through 12.3.…8.4
- CVE-2026-128068rails-html-sanitizer is responsible for sanitizing HTML frag…5.3
- CVE-2026-12807A vulnerability was found in Edimax BR-6478AC V2 1.23. This …6.3
- CVE-2026-128070Nuxt is an open-source web development framework for Vue.js.…5.9
- CVE-2026-128071Nuxt is an open-source web development framework for Vue.js.…6.5
- CVE-2026-128072Nuxt is an open-source web development framework for Vue.js.…3.1
- CVE-2026-128074Nuxt is an open-source web development framework for Vue.js.…6.9
- CVE-2026-128075Nuxt is an open-source web development framework for Vue.js.…5.3
Are you affected by CVE-2026-128069?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
