CVE-2015-1840: Fedoraproject Fedora

Medium severity, CVSS 5.0. EPSS: 4.5% chance of exploitation in the next 30 days.

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 products

  • Fedoraproject Fedora: version 21 only; version 22 only
  • Opensuse Opensuse: version 13.1 only; version 13.2 only
  • Rubyonrails jQuery-Rails: up to and including 3.1.2; version 4.0.0 only; version 4.0.1 only
  • Rubyonrails jQuery-Ujs: up to and including 1.0.3

Published 2015-07-26. Last modified 2026-06-17.