CVE-2024-26143
Rails Action Controller Translation Helper XSS
Description
Rails is a web-application framework. There is a possible XSS vulnerability when using the translation helpers in Action Controller. 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. The vulnerability is fixed in 7.1.3.1 and 7.0.8.1.
INFO
Published Date :
Feb. 27, 2024, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 9:02 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26143
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26143
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26143
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 Added Reference https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc Added Reference https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e Added Reference https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 Added Reference https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml Added Reference https://security.netapp.com/advisory/ntap-20240510-0004/ -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://security.netapp.com/advisory/ntap-20240510-0004/ [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 29, 2024
Action Type Old Value New Value Removed CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N -
CVE Received by [email protected]
Feb. 27, 2024
Action Type Old Value New Value Added Description Rails is a web-application framework. There is a possible XSS vulnerability when using the translation helpers in Action Controller. 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. The vulnerability is fixed in 7.1.3.1 and 7.0.8.1. Added Reference GitHub, Inc. https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4 [No types assigned] Added Reference GitHub, Inc. https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc [No types assigned] Added Reference GitHub, Inc. https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e [No types assigned] Added Reference GitHub, Inc. https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947 [No types assigned] Added Reference GitHub, Inc. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml [No types assigned] Added CWE GitHub, Inc. CWE-79 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26143
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26143
weaknesses.