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

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2015-1840
GHSA-4WHC-PP4X-9PF3
OPENSUSE-SU-2024:10512-1
OPENSUSE-SU-2024:11334-1
OPENSUSE-SU-2024:12144-1
OPENSUSE-SU-2024:13159-1
OPENSUSE-SU-2024:14169-1
OPENSUSE-SU-2025:15117-1
OPENSUSE-SU-2026:10350-1

Affected Products

Jquery-Rails
Jquery-Ujs