Every CVESearch/Get API key

CVE-2015-1840

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

5.0 MediumFix available

CVE-2015-1840 is a medium vulnerability (CVSS 5.0) in Rubyonrails Jquery-rails, published July 26, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.49%, the 91st percentile. Fixed in jquery-rails 3.1.3.

What does this mean?
Severity
5.0 MediumCVSS 2.0, NVD
Exploit chance
4.49%EPSS, 91st percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists

Description

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.

Exploit likelihood

4.49%Up 3.1 points since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jquery-rails
RubyGems
before 3.1.3
3.1.3
jquery-rails
RubyGems
4.0.0 up to 4.0.4
4.0.4
jquery-ujs
RubyGems
before 1.0.4
1.0.4
ruby-jquery-rails
Debian:12
before 4.0.4-1
4.0.4-1
ruby-jquery-rails
Debian:13
before 4.0.4-1
4.0.4-1
ruby-jquery-rails
Debian:14
before 4.0.4-1
4.0.4-1
jquery-rails
RubyGems
before 3.1.3, plus listed versions
0.1.10.1.20.1.30.20.2.1
Show 45 moreShow less
0.2.20.2.30.2.40.2.50.2.60.2.71.01.0.11.0.101.0.111.0.121.0.131.0.141.0.151.0.161.0.171.0.181.0.191.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.0.rc2.0.12.0.22.0.32.1.02.1.12.1.22.1.32.1.42.2.02.2.12.2.22.3.03.0.03.0.13.0.23.0.33.0.43.1.0
3.1.3
jquery-rails
RubyGems
4.0.0 up to 4.0.4, plus listed versions
4.0.14.0.24.0.3
4.0.4
rubygem-jquery-rails
openSUSE:Tumbleweed
before 4.5.0-1.1
4.5.0-1.1
ruby3.2-rubygem-jquery-rails
openSUSE:Tumbleweed
before 4.5.1-1.3
4.5.1-1.3
rubygem-jquery-rails
openSUSE:Tumbleweed
before 4.6.0-1.5
4.6.0-1.5
rubygem-jquery-rails
openSUSE:Tumbleweed
before 4.6.0-1.7
4.6.0-1.7
rubygem-jquery-rails
openSUSE:Tumbleweed
before 4.6.0-1.9
4.6.0-1.9

What each source reports

NVD Score used5.0

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.

Record
CVE-2015-1840
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2015-1840
Updated
2026-11-02
EUVDEUVD-2017-0163No score

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.

Record
EUVD-2017-0163
Updated
2026-11-03
GitHub AdvisoriesGHSA-4whc-pp4x-9pf3No score

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.

Record
GHSA-4whc-pp4x-9pf3
Weakness
CWE-200
Updated
2026-11-02
OSVNo score

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.

Record
CVE-2015-1840
Updated
2026-11-02
OSVDEBIAN-CVE-2015-1840No score

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.

Record
DEBIAN-CVE-2015-1840
Updated
2026-11-02
Show 9 moreShow less
OSVGHSA-4whc-pp4x-9pf3No score

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.

Record
GHSA-4whc-pp4x-9pf3
Weakness
CWE-200
Updated
2026-11-02
OSVopenSUSE-SU-2024:10512-1No score

ruby2.2-rubygem-jquery-rails-4.2.1-1.1 on GA media

These are all security issues fixed in the ruby2.2-rubygem-jquery-rails-4.2.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10512-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11334-1No score

ruby2.7-rubygem-jquery-rails-4.4.0-1.7 on GA media

These are all security issues fixed in the ruby2.7-rubygem-jquery-rails-4.4.0-1.7 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11334-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12144-1No score

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

These are all security issues fixed in the ruby3.1-rubygem-jquery-rails-4.5.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12144-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13159-1No score

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

These are all security issues fixed in the ruby3.2-rubygem-jquery-rails-4.5.1-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13159-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14169-1No score

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

These are all security issues fixed in the ruby3.3-rubygem-jquery-rails-4.6.0-1.5 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14169-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15117-1No score

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

These are all security issues fixed in the ruby3.4-rubygem-jquery-rails-4.6.0-1.7 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15117-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:10350-1No score

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

These are all security issues fixed in the ruby4.0-rubygem-jquery-rails-4.6.0-1.9 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10350-1
Updated
2026-11-02
OSVUBUNTU-CVE-2015-1840No score

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.

Record
UBUNTU-CVE-2015-1840
Updated
2026-11-02

History

History
RecordedChangedSources
facts
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 14 moreShow less
This page doesn't list everything

Left out here: 2 versions. The JSON record has them.

MoveEnter Open