{"id":"DEBIAN-CVE-2015-1840","details":"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.","modified":"2026-09-09T06:47:20.318532563Z","published":"2015-07-26T22:59:00.070Z","upstream":["CVE-2015-1840"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2015-1840"}],"affected":[{"package":{"name":"ruby-jquery-rails","ecosystem":"Debian:12","purl":"pkg:deb/debian/ruby-jquery-rails?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2015-1840.json"}},{"package":{"name":"ruby-jquery-rails","ecosystem":"Debian:13","purl":"pkg:deb/debian/ruby-jquery-rails?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2015-1840.json"}},{"package":{"name":"ruby-jquery-rails","ecosystem":"Debian:14","purl":"pkg:deb/debian/ruby-jquery-rails?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2015-1840.json"}}],"schema_version":"1.9.0"}