CVE-2015-1840
EPSS 0.24%jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
Published: 10/24/2017Modified: 4/28/2026
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 packages (3)
- Debian/ruby-jquery-railsfrom 0, < 4.0.4-1
- RubyGems/jquery-railsfrom 0, < 3.1.3
- RubyGems/jquery-ujsfrom 0, < 1.0.4
References (15)
- ADVISORYhttps://github.com/advisories/GHSA-4whc-pp4x-9pf3
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-1840
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-1840
- PATCHhttps://github.com/rails/jquery-rails
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html
- WEBhttp://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html
- WEBhttp://openwall.com/lists/oss-security/2015/06/16/15
- WEBhttps://github.com/rails/jquery-rails/blob/master/CHANGELOG.md
- WEBhttps://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2015-1840.yml
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ujs/CVE-2015-1840.yml
- WEBhttps://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J
- WEBhttps://groups.google.com/forum/#!topic/ruby-security-ann/XIZPbobuwaY
- WEBhttps://web.archive.org/web/20200228084945/http://www.securityfocus.com/bid/75239