{"id":"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.","aliases":["GHSA-4whc-pp4x-9pf3"],"modified":"2026-03-16T03:04:30.514128Z","published":"2015-07-26T22:59:00Z","related":["openSUSE-SU-2024:10512-1","openSUSE-SU-2024:11334-1","openSUSE-SU-2024:12144-1","openSUSE-SU-2024:13159-1","openSUSE-SU-2024:14169-1","openSUSE-SU-2025:15117-1","openSUSE-SU-2026:10350-1"],"references":[{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html"},{"type":"ADVISORY","url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md"},{"type":"ADVISORY","url":"https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md"},{"type":"ADVISORY","url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J"},{"type":"EVIDENCE","url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2015/06/16/15"},{"type":"WEB","url":"http://www.securityfocus.com/bid/75239"}],"schema_version":"1.7.5"}