CVE-2026-126078
Published:November 10, 2026
Updated:November 15, 2026
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.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0.beta1 <v8.1.4.1Fix Suggestion:
Update to version v8.1.4.1https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v3.0.0_RC <v8.0.5.2 || >=v4.0.0.beta1 <v8.0.5.2 || >=v5.0.0.beta1 <v8.0.5.2 || >=v6.0.0.beta1 <v8.0.5.2 || >=v7.0.0.alpha1 <v8.0.5.2 || >=v8.0.0.alpha1 <v8.0.5.2Fix Suggestion:
Update to version v8.0.5.2actionpack (RUBY):
Affected version(s) >=4.0.0.beta1 <8.0.5.2 || >=3.0.0.rc <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2actionview (RUBY):
Affected version(s) >=4.1.0.beta1 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2actionview (RUBY):
Affected version(s) >=5.0.0.beta1 <8.0.5.2 || >=7.0.0.alpha1 <8.0.5.2 || >=4.1.0.beta1 <8.0.5.2 || >=6.0.0.beta1 <8.0.5.2 || >=8.0.0.beta1 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2actionview (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.4.1Fix Suggestion:
Update to version 8.1.4.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation
EPSS
Base Score:
0.34