Vulnerability
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, 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.
8 advisories report this vulnerability, across 4 ecosystems.
Advisories
-
DEBIAN-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, and trigger…
-
GHSA-4whc-pp4x-9pf3
jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
-
UBUNTU-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, and trigger…
-
openSUSE-SU-2024:12144-1
ruby3.1-rubygem-jquery-rails-4.5.0-1.1 on GA media
-
openSUSE-SU-2024:13159-1
ruby3.2-rubygem-jquery-rails-4.5.1-1.3 on GA media
-
openSUSE-SU-2024:14169-1
ruby3.3-rubygem-jquery-rails-4.6.0-1.5 on GA media
-
openSUSE-SU-2025:15117-1
ruby3.4-rubygem-jquery-rails-4.6.0-1.7 on GA media
-
openSUSE-SU-2026:10350-1
ruby4.0-rubygem-jquery-rails-4.6.0-1.9 on GA media
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