PT-2016-3816
CVE-2015-7579
·
تاريخ النشر
2016-02-07
·
تاريخ التحديث
2026-03-13
الوصف من
CVSS 3.1
6.1
متوسطةالمقاييسAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
rails-html-sanitizer gem version 1.0.2
Ruby on Rails versions 4.2.x through 5.x
Description
A cross-site scripting (XSS) issue allows remote attackers to inject arbitrary web script or HTML via an HTML entity that is mishandled by the
Rails::Html::FullSanitizer class. This enables attackers to execute malicious scripts on the client-side.Recommendations
For rails-html-sanitizer gem version 1.0.2, update to a newer version to mitigate the risk.
For Ruby on Rails versions 4.2.x through 5.x, ensure the rails-html-sanitizer gem is updated to a version that fixes the XSS vulnerability.
As a temporary workaround, consider restricting the input allowed by the
Rails::Html::FullSanitizer class to minimize the risk of exploitation. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾