ADVISORIES

Vulnerability

CVE-2015-1840

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.

8 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • DEBIAN-CVE-2015-1840

    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…

    CVE-2015-1840 Debian Updated 9 September 2026
  • GHSA-4whc-pp4x-9pf3

    jquery-rails and jquery-ujs subject to Exposure of Sensitive Information

    Moderate CVE-2015-1840 RubyGems Updated 3 February 2026
  • UBUNTU-CVE-2015-1840

    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…

    CVE-2015-1840 Ubuntu Updated 16 July 2025
  • openSUSE-SU-2024:12144-1

    ruby3.1-rubygem-jquery-rails-4.5.0-1.1 on GA media

    CVE-2015-1840 openSUSE Updated 7 May 2025
  • openSUSE-SU-2024:13159-1

    ruby3.2-rubygem-jquery-rails-4.5.1-1.3 on GA media

    CVE-2015-1840 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14169-1

    ruby3.3-rubygem-jquery-rails-4.6.0-1.5 on GA media

    CVE-2015-1840 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15117-1

    ruby3.4-rubygem-jquery-rails-4.6.0-1.7 on GA media

    CVE-2015-1840 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10350-1

    ruby4.0-rubygem-jquery-rails-4.6.0-1.9 on GA media

    CVE-2015-1840 openSUSE Updated 14 March 2026

References