CVE-2015-1840
mediumpriority · track · 22EPSS 0.045 · 91 %ileDEEUUSEPSS · scored 2026-10-28
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedruby4.0-rubygem-jquery-rails-0:4.6.0-1.9.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-jquery-rails-0:4.6.0-1.9.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-jquery-rails-0:4.6.0-1.9.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-jquery-rails-0:4.6.0-1.9.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- openSUSE-SU-2026:10350-1ruby4.0-rubygem-jquery-rails-4.6.0-1.9 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-jquery-rails-4.6.0-1.9 on GA media
- GHSA-4whc-pp4x-9pf3jquery-rails and jquery-ujs subject to Exposure of Sensitive Information2017-10-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- http://openwall.com/lists/oss-security/2015/06/16/15cnnvd
- http://www.securityfocus.com/bid/75239cnnvd
- https://github.com/rails/jquery-rails/blob/master/CHANGELOG.mdcnnvd
- https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.mdcnnvd
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4Jcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.htmlenisa_euvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.htmlenisa_euvd
- http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan