Bug 1220522 (CVE-2024-26143) - VUL-0: CVE-2024-26143: rubygem-actionpack-4_2,rubygem-actionpack-5_1,rubygem-rails-4_2,rubygem-rails-5_1: XSS vulnerability when using the translation helpers in Action Controller
Summary: VUL-0: CVE-2024-26143: rubygem-actionpack-4_2,rubygem-actionpack-5_1,rubygem-...
Status: NEW
Alias: CVE-2024-26143
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Dan Čermák
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/395327/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26143:5.4:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-28 09:01 UTC by SMASH SMASH
Modified: 2024-02-28 09:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-28 09:01:21 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26143
https://www.cve.org/CVERecord?id=CVE-2024-26143
https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947
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

Patch:
https://github.com/rails/rails/commit/4c83b331092a79d58e4adffe4be5f250fa5782cc
https://github.com/rails/rails/commit/5187a9ef51980ad1b8e81945ebe0462d28f84f9e
Comment 1 Andrea Mattiazzo 2024-02-28 09:02:09 UTC
Tracking as affected:
-openSUSE:Factory/rubygem-actionpack-7.0
-openSUSE:Factory/rubygem-rails-7.0