{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2015-1840","published":"2015-07-26T22:59:00.070000Z","last_modified":"2026-06-17T00:23:05.780000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-200"],"cpes":[{"criteria":"cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"21"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"22"},{"criteria":"cpe:2.3:a:rubyonrails:jquery-rails:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"jquery-rails","version_end_including":"3.1.2"},{"criteria":"cpe:2.3:a:rubyonrails:jquery-rails:4.0.0:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"jquery-rails","version":"4.0.0"},{"criteria":"cpe:2.3:a:rubyonrails:jquery-rails:4.0.1:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"jquery-rails","version":"4.0.1"},{"criteria":"cpe:2.3:a:rubyonrails:jquery-ujs:*:*:*:*:*:*:*:*","part":"a","vendor":"rubyonrails","product":"jquery-ujs","version_end_including":"1.0.3"},{"criteria":"cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*","part":"o","vendor":"opensuse","product":"opensuse","version":"13.1"},{"criteria":"cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*","part":"o","vendor":"opensuse","product":"opensuse","version":"13.2"}],"cpes_truncated":false,"vendors":["fedoraproject","rubyonrails","opensuse"],"products":["fedoraproject/fedora","rubyonrails/jquery-rails","rubyonrails/jquery-ujs","opensuse/opensuse"],"epss":{"score":0.04487,"percentile":0.92259,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[{"advisory":"GHSA-4whc-pp4x-9pf3","ecosystem":"RubyGems","name":"jquery-rails","purl":"pkg:gem/jquery-rails","ranges":[{"introduced":"0","fixed":"3.1.3"}],"versions":["0.1.1","0.1.2","0.1.3","0.2","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.rc","2.0.1","2.0.2","2.0.3","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.2.2","2.3.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.1","3.1.2"],"versions_truncated":false},{"advisory":"GHSA-4whc-pp4x-9pf3","ecosystem":"RubyGems","name":"jquery-rails","purl":"pkg:gem/jquery-rails","ranges":[{"introduced":"4.0.0","fixed":"4.0.4"}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3"],"versions_truncated":false},{"advisory":"GHSA-4whc-pp4x-9pf3","ecosystem":"RubyGems","name":"jquery-ujs","purl":"pkg:gem/jquery-ujs","ranges":[{"introduced":"0","fixed":"1.0.4"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2015-1840/","html_en":"/en/cve/CVE-2015-1840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-1840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-1840"},"untrusted":{"vendor_name":"Fedoraproject","product_name":"Fedora","desc_en":"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":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html","tags":["Third Party Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html","tags":["Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html","tags":["Third Party Advisory"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/15","tags":[]},{"url":"http://www.securityfocus.com/bid/75239","tags":[]},{"url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md","tags":["Vendor Advisory"]},{"url":"https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md","tags":["Vendor Advisory"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J","tags":["Exploit","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10350-1","url":"https://www.suse.com/support/update/","published":"2026-03-13T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"ruby4.0-rubygem-jquery-rails-4.6.0-1.9 on GA media"}}]}