CVE-2026-126078
Last modified
CVE-2026-126078 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, ActionView::Helpers::TextHelper#highlight substitutes each matched phrase into the :highlighter string without escaping it and returns the result marked HTML-safe. EPSS estimates a 0.34% 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, ActionView::Helpers::TextHelper#highlight substitutes each matched phrase into the :highlighter string without escaping it and returns the result marked HTML-safe. Because sanitizing leaves quote characters in text unescaped, a match substituted into a quoted attribute value of the highlighter, such as the <a href="search?q=\1"> form shown in the method's documentation, could end the attribute value and add attributes to the element, possibly leading to XSS. Applications are affected when they pass a :highlighter that places a placeholder inside an attribute value and highlight text or phrases that a user controls. The default <mark>\1</mark> highlighter and the block form are 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-126078?
How severe is CVE-2026-126078?
How do I fix CVE-2026-126078?
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-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
- CVE-2026-126077Action Pack is a framework for handling and responding to we…6.8
- CVE-2026-126079Action View is a framework for handling view template lookup…6.1
- CVE-2026-126080Active Support is a collection of utility classes and standa…7.5
- CVE-2026-126081Action Pack is a framework for handling and responding to we…7.5
- CVE-2026-126082Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2026-126083Action Pack is a framework for handling and responding to we…7.4
- CVE-2026-126084Active Storage makes it simple to upload and reference files…4.7
Are you affected by CVE-2026-126078?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
