PT-2015-5464 · Rails · Jquery-Ujs+1
Ben Toews
·
Published
2015-07-26
·
Updated
2026-03-13
·
CVE-2015-1840
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
jquery-rails versions 3.1.3 and earlier, jquery-rails versions 4.x prior to 4.0.4
jquery-ujs versions 1.0.4 and earlier
Description
The issue allows remote attackers to bypass the Same Origin Policy and trigger transmission of a CSRF token to a different-domain web server. This is achieved via a leading space character in a URL within an attribute value.
Recommendations
For jquery-rails versions 3.1.3 and earlier, update to version 3.1.3 or later.
For jquery-rails versions 4.x prior to 4.0.4, update to version 4.0.4 or later.
For jquery-ujs versions 1.0.4 and earlier, update to version 1.0.4 or later.
Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jquery-Rails
Jquery-Ujs