jquery-rails and jquery-ujs subject to Exposure of Sensitive Information (GHSA-4whc-pp4x-9pf3)
Published: 2017-10-24T18:33:36Z
Aliases: CVE-2015-1840
Severity: MODERATE · CWE: CWE-200

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 packages:
package: ecosystem: RubyGems
name: jquery-rails
ranges: type: ECOSYSTEM
events: introduced: 0
fixed: 3.1.3
package: ecosystem: RubyGems
name: jquery-rails
ranges: type: ECOSYSTEM
events: introduced: 4.0.0
fixed: 4.0.4
package: ecosystem: RubyGems
name: jquery-ujs
ranges: type: ECOSYSTEM
events: introduced: 0
fixed: 1.0.4