Security mailing lists by PureSourceCode

CVE-2015-1840

MEDIUM 5.0CVSS 2.0

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

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.

Published
26 Jul 2015
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-200
Also known as
GHSA-4whc-pp4x-9pf3
Sources
NVDJSONOSV GHSA-4whc-pp4x-9pf3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*
= 21
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*
= 22
NVD rubyonrails jquery-rails
cpe:2.3:a:rubyonrails:jquery-rails:*:*:*:*:*:*:*:*
<= 3.1.2
NVD rubyonrails jquery-rails
cpe:2.3:a:rubyonrails:jquery-rails:4.0.0:*:*:*:*:*:*:*
= 4.0.0
NVD rubyonrails jquery-rails
cpe:2.3:a:rubyonrails:jquery-rails:4.0.1:*:*:*:*:*:*:*
= 4.0.1
NVD rubyonrails jquery-ujs
cpe:2.3:a:rubyonrails:jquery-ujs:*:*:*:*:*:*:*:*
<= 1.0.3
NVD opensuse opensuse
cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*
= 13.1
NVD opensuse opensuse
cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
= 13.2
OSV RubyGems jquery-rails < 3.1.3 3.1.3
OSV RubyGems jquery-rails >= 4.0.0, < 4.0.4 4.0.4
OSV RubyGems jquery-ujs < 1.0.4 1.0.4

References

History

  • 25 Nov 2026 20:18 UTC · NVD: first stored (published 26 Jul 2015)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.