PT-2013-6039 · Ruby · Ruby On Rails
Published
2013-12-07
·
Updated
2019-08-08
·
CVE-2013-6416
CVSS v2.0
4.3
Medium
| Vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
Ruby on Rails versions 4.0.0 through 4.0.1
Description
A cross-site scripting (XSS) issue exists in the simple format helper, located in actionpack/lib/action view/helpers/text helper.rb, allowing remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute. This enables attackers to execute malicious scripts on the client-side.
Recommendations
For Ruby on Rails versions 4.0.0 through 4.0.1, update to version 4.0.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the simple format helper until a patch is applied.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ruby On Rails