PT-2024-5871

CVE-2024-26143

·

تاريخ النشر

2024-02-24

·

تاريخ التحديث

2025-05-17

الوصف من

CVSS 2.0
6.4
متوسطة
المقاييسAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions prior to 7.1.3.1 Ruby on Rails versions prior to 7.0.8.1
Description 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 related to the incorrect neutralization of input data during web page generation, which can allow an attacker to conduct cross-site scripting.
Recommendations For versions prior to 7.1.3.1, update to version 7.1.3.1 to fix the vulnerability. For versions prior to 7.0.8.1, update to version 7.0.8.1 to fix the vulnerability. As a temporary workaround, consider disabling the use of translation methods like translate or t on controllers with keys ending in " html" and default values containing untrusted user input, until a patch is available. Restrict access to the vulnerable translation helpers in Action Controller to minimize the risk of exploitation. Avoid using the :default key with untrusted user input in the affected translation methods until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-9822-6M93-XQF4
ALT-PU-2025-3714
BIT-RAILS-2024-26143
OPENSUSE-SU-2024:14067-1
OPENSUSE-SU-2024:14074-1
OPENSUSE-SU-2025:15110-1
OPENSUSE-SU-2025:15124-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾