{"id":"CVE-2015-1840","url":"https://www.cyber-defence.io/tools/cve/CVE-2015-1840","generatedAt":"2026-10-27T18:47:30.007Z","title":"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…","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.","published":"2015-07-26T22:59:00.000Z","lastModified":"2026-06-17T00:23:06.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N"},"cwe":["CWE-200"],"affected":["fedoraproject/fedora","rubyonrails/jquery-rails","rubyonrails/jquery-ujs","opensuse/opensuse"],"epss":{"score":0.04519,"percentile":0.91466,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (4.52%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://openwall.com/lists/oss-security/2015/06/16/15","source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/75239","source":"secalert@redhat.com"},{"url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J","tags":["Exploit","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2015/06/16/15","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/75239","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J","tags":["Exploit","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-1840","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}