Skip to main content
← All vulnerabilities
CVE-2015-1840GHSA-4WHC-PP4X-9PF3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.3, 4.0.4, 1.0.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • jquery-railsRubyGems

    fixed in 3.1.3

  • jquery-railsRubyGems

    From 4.0.0 · fixed in 4.0.4

  • jquery-ujsRubyGems

    fixed in 1.0.4

References 8

lists.fedoraproject.org

lists.opensuse.org

openwall.com

groups.google.com

securityfocus.com

GitHub · rails/jquery-ujs

GitHub · rails/jquery-rails