What’s Vulnerable › Vulnerabilities
CVE-2015-1840
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2015-07-26 · updated 2026-06-17
- Weakness: CWE-200
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.
Affected products
- Fedoraproject Fedora: 21, 22
- Opensuse: 13.1, 13.2
- rubyonrails Jquery-Rails: through 3.1.2; 4.0.0, 4.0.1
- rubyonrails Jquery-Ujs: through 1.0.3
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html
- http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html
- http://openwall.com/lists/oss-security/2015/06/16/15
- http://www.securityfocus.com/bid/75239
- https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md
- https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html
- http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html
- http://openwall.com/lists/oss-security/2015/06/16/15
Get alerted when CVE-2015-1840 or the next vulnerability affects your stack