CVE-2026-126070
Published:November 10, 2026
Updated:November 14, 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, 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.
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) >=v7.0.4 <v8.0.5.2 || >=v8.0.0.alpha1 <v8.0.5.2Fix Suggestion:
Update to version v8.0.5.2https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v3.0.0.beta1 <v3.0.17Fix Suggestion:
Update to version v3.0.17https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v3.2.0.rc1 <v3.2.8Fix Suggestion:
Update to version v3.2.8https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v2.3.5 <v2.3.16Fix Suggestion:
Update to version v2.3.16https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v3.1.0.beta1 <v3.1.8Fix Suggestion:
Update to version v3.1.8actionview (RUBY):
Affected version(s) >=7.0.4 <8.0.5.2 || >=8.0.0.beta1 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2actionpack (RUBY):
Affected version(s) >=3.1.0.beta1 <3.1.8Fix Suggestion:
Update to version 3.1.8actionpack (RUBY):
Affected version(s) >=3.2.0.rc1 <3.2.8Fix Suggestion:
Update to version 3.2.8actionview (RUBY):
Affected version(s) >=4.1.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.1actionpack (RUBY):
Affected version(s) >=2.3.5 <2.3.16Fix Suggestion:
Update to version 2.3.16actionpack (RUBY):
Affected version(s) >=3.0.0.beta <3.0.17Fix Suggestion:
Update to version 3.0.17Related 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.27