CVE-2015-1840: Infoleak

Published Jul 26, 2015
·
Updated

jqueryujs.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.

Affected Software

11 affected componentsFixes available
rubygems/jquery-ujs<1.0.4
1.0.4
rubygems/jquery-rails>=4.0.0<4.0.4
4.0.4
rubygems/jquery-rails<3.1.3
3.1.3
Fedoraproject Fedora=21
Fedoraproject Fedora=22
rubyonrails Jquery-rails<=3.1.2
rubyonrails Jquery-rails=4.0.0
rubyonrails Jquery-rails=4.0.1
rubyonrails Jquery-ujs<=1.0.3
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2

Event History

Jul 26, 2015
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-1840?

CVE-2015-1840 is considered a medium severity vulnerability due to its potential to allow CSRF attacks.

2

How do I fix CVE-2015-1840?

To fix CVE-2015-1840, upgrade jquery-rails to version 4.0.4 or later and jquery-ujs to version 1.0.4 or later.

3

Who is affected by CVE-2015-1840?

CVE-2015-1840 affects users of jquery-rails versions prior to 4.0.4 and jquery-ujs versions prior to 1.0.4.

4

What is the exploit type for CVE-2015-1840?

CVE-2015-1840 allows attackers to bypass the Same Origin Policy, facilitating Cross-Site Request Forgery (CSRF) attacks.

5

Which versions are impacted by CVE-2015-1840?

The affected versions for CVE-2015-1840 include jquery-rails versions prior to 4.0.4 and jquery-ujs versions before 1.0.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203