CVE-2024-26143
published medium CVSS 3.1 · 6.1Rails Possible XSS Vulnerability in Action Controller
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | rails>= 7.0.0, < 7.0.8.1 · >= 7.1.0, < 7.1.3.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0aarch64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14067-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0ppc64le | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14067-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0s390x | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14067-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actionpack-7.0x86_64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14067-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0aarch64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0ppc64le | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0s390x | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0x86_64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actionpack-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15110-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | rails | >= 7.0.0, < 7.0.8.1 (affected)>= 7.1.0, < 7.1.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947
- https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc
- https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e
- https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml
- https://security.netapp.com/advisory/ntap-20240510-0004/
Provider assertions
3GitHub_M · cna
Rails Possible XSS Vulnerability in Action Controller
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cf58653eabd4f4ecf335fc4453a1581ff1196e7fa5cbbf09850ed83be5efef13
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record