CVE-2024-26143
Rails has possible XSS Vulnerability in Action Controller
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 7.0.8.1
gem install rails -v 7.0.8.1
gem install actionpack -v 7.1.3.1
gem install rails -v 7.1.3.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| actionpack | rubygems | 7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+16 more) | 7.0.8.1 |
| rails | rubygems | 7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+16 more) | 7.0.8.1 |
| actionpack | rubygems | 7.1.0, 7.1.1, 7.1.2, 7.1.3 | 7.1.3.1 |
| rails | rubygems | 7.1.0, 7.1.1, 7.1.2, 7.1.3 | 7.1.3.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-26143ADVISORY
- https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782ccWEB
- https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9eWEB
- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947WEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.ymlWEB
- https://security.netapp.com/advisory/ntap-20240510-0004WEB
Frequently Asked Questions
- What is CVE-2024-26143?
- Rails has possible XSS Vulnerability in Action Controller This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2024-26143?
- CVE-2024-26143 affects actionpack and rails. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-26143 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2016-2098HIGH
actionpack allows remote code execution via application's unrestricted use of render method
- CVE-2021-22904HIGH
Possible DoS Vulnerability in Action Controller Token Authentication
- CVE-2020-8164HIGH
Possible Strong Parameters Bypass in ActionPack
- CVE-2015-7581HIGH
actionpack is vulnerable to denial of service because of a wildcard controller route
- CVE-2016-0751HIGH
actionpack is vulnerable to denial of service via a crafted HTTP Accept header
- CVE-2021-22903MEDIUM
Possible Open Redirect Vulnerability in Action Pack
- CVE-2023-22797MEDIUM
Open Redirect Vulnerability in Action Pack
- CVE-2020-8185MEDIUM
Untrusted users can run pending migrations in production in Rails
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies