MEDIUM · 5.0

CVE-2015-1840

jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy...

Vulnerability Description

jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value.

CVSS Score

5.0

MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N
Confidentiality
PARTIAL
Integrity
NONE
Availability
NONE

Affected Products

VendorProductVersions
FedoraprojectFedora21
RubyonrailsJquery-Rails<= 3.1.2
RubyonrailsJquery-Ujs<= 1.0.3
OpensuseOpensuse13.1

Related Weaknesses (CWE)

References

FAQ

What is CVE-2015-1840?

CVE-2015-1840 is a vulnerability with a CVSS score of 5.0 (MEDIUM). jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy...

How severe is CVE-2015-1840?

CVE-2015-1840 has been rated MEDIUM with a CVSS base score of 5.0/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2015-1840?

Check the references section above for vendor advisories and patch information. Affected products include: Fedoraproject Fedora, Rubyonrails Jquery-Rails, Rubyonrails Jquery-Ujs, Opensuse Opensuse.