{"id":"CVE-2024-26143","aliases":["BIT-rails-2024-26143","GHSA-9822-6m93-xqf4"],"url":"https://o3.security/vulnerability/CVE-2024-26143","summary":"Rails Possible XSS Vulnerability in Action Controller","details":"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.","published":"2024-02-27T15:33:54.643Z","modified":"2026-08-08T03:46:04.344705951Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"7.0.8.1"},{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"7.1.3.1"},{"ecosystem":"RubyGems","name":"rails","fixedVersion":"7.0.8.1"},{"ecosystem":"RubyGems","name":"rails","fixedVersion":"7.1.3.1"}],"fix":{"url":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc","label":"rails/rails@4c83b33"},"references":[{"type":"WEB","url":"https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26143.json"},{"type":"ADVISORY","url":"https://github.com/rails/rails/security/advisories/GHSA-9822-6m93-xqf4"},{"type":"ADVISORY","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26143.yml"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26143"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240510-0004/"},{"type":"FIX","url":"https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc"},{"type":"FIX","url":"https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:46:04.344705951Z"}}