CVE-2026-126070
Last modified
CVE-2026-126070 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, strip_tags in Action View returns its sanitized output marked html_safe, but the underlying sanitizer encodes only &, < and >, leaving " and ' unencoded. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, strip_tags in Action View returns its sanitized output marked html_safe, but the underlying sanitizer encodes only &, < and >, leaving " and ' unencoded. Because ERB does not escape a string marked html_safe, untrusted input passed through strip_tags and rendered inside a quoted HTML attribute value could close the attribute and add new attributes, possibly leading to XSS. Applications that render strip_tags output from untrusted input inside an HTML attribute, for example in a title attribute or a <meta content> tag, are affected. Output rendered as element content is not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails | < 8.0.5.2; >= 8.1, < 8.1.4.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126070?
How severe is CVE-2026-126070?
How do I fix CVE-2026-126070?
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-126064Nokogiri is an open source XML and HTML library for the Ruby…2
- CVE-2026-126065OpenObserve is a cloud-native observability platform. Prior …9.8
- CVE-2026-126066fast-xml-parser allows users to process XML from JS object w…3.7
- CVE-2026-126067Action Pack is a framework for handling and responding to we…3.1
- CVE-2026-126068Action Mailbox routes incoming emails to controller-like mai…3.7
- CVE-2026-126069Action View is a framework for handling view template lookup…4.7
- CVE-2026-126071Active Storage makes it simple to upload and reference files…5.3
- CVE-2026-126072Action Pack is a framework for handling and responding to we…5.9
- CVE-2026-126073Action Pack is a framework for handling and responding to we…4.8
- CVE-2026-126074Active Storage makes it simple to upload and reference files…4.3
- CVE-2026-126075Active Support is a collection of utility classes and standa…4.7
- CVE-2026-126076Action Pack is a framework for handling and responding to we…4.2
Are you affected by CVE-2026-126070?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
