6.1 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
6.1 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
10.5%
There is a possible XSS vulnerability when using the translation helpers
(translate
, t
, etc) in Action Controller. This vulnerability has been
assigned the CVE identifier CVE-2024-26143.
Versions Affected: >= 7.0.0
Not affected: < 7.0.0
Fixed Versions: 7.1.3.1, 7.0.8.1
Applications using translation methods like translate
, or t
on a
controller, with a key ending in β_htmlβ, a :default
key which contains
untrusted user input, and the resulting string is used in a view, may be
susceptible to an XSS vulnerability.
For example, impacted code will look something like this:
class ArticlesController < ApplicationController
def show
@message = t("message_html", default: untrusted_input)
# The `show` template displays the contents of `@message`
end
end
To reiterate the pre-conditions, applications must:
I18n.t
, ort
from a view)_html
render
call)All users running an affected release should either upgrade or use one of the workarounds immediately.
The fixed releases are available at the normal locations.
There are no feasible workarounds for this issue.
CPE | Name | Operator | Version |
---|---|---|---|
actionpack | lt | 7.0.0 | |
actionpack | le | 7.0.8.0 | |
actionpack | ge | 7.0.9.0 | |
actionpack | lt | 7.1.3.1 |
6.1 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
6.1 Medium
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
10.5%