Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2015-1840

rubygem-jquery-rails: CSRF Vulnerability in jquery-ujs and jquery-rails

Overview

Published
26 Jul 2015
Modified
6 May 2026
Medium CVE
3 Registry packages
20 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5 · MEDIUM

CVSS 2.0 base score, scored by NVD.

Access vector
Network
Access complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

Weakness: CWE-200

Affected packages · 3

Packages affected by CVE-2015-1840
EcosystemPackageVulnerableFixed in
npm jquery-ujs <= 1.0.3 1.0.4
RubyGems jquery-rails <3.1.3>=4.0.0, <4.0.4 3.1.34.0.4~> 3.1.3
RubyGems jquery-ujs <1.0.4 1.0.4

Open a package to see all its vulnerabilities.

Operating systems · 13 fixes

Red Hat 1 release · 1 package

wont fix 1
rh-ror41-rubygem-jquery-rails
Red Hat fixes for CVE-2015-1840
ReleasePackageFixed in
7 rh-ror41-rubygem-jquery-rails +5 wont fix

debian 4 releases · 1 package

fixed 4
ruby-jquery-rails
debian fixes for CVE-2015-1840
ReleasePackageFixed in
11 ruby-jquery-rails 4.0.4-1
12 ruby-jquery-rails 4.0.4-1
13 ruby-jquery-rails 4.0.4-1
14 ruby-jquery-rails 4.0.4-1

echo 1 release · 1 package

fixed 1
ruby-jquery-rails
echo fixes for CVE-2015-1840
ReleasePackageFixed in
ruby-jquery-rails 4.0.4-1

openSUSE 1 release · 7 packages

fixed 7
ruby2-2-rubygem-jquery-rails ruby2-7-rubygem-jquery-rails ruby3-1-rubygem-jquery-rails ruby3-2-rubygem-jquery-rails ruby3-3-rubygem-jquery-rails ruby3-4-rubygem-jquery-rails +1
openSUSE fixes for CVE-2015-1840
ReleasePackageFixed inAdvisory
Tumbleweed ruby2-2-rubygem-jquery-rails +5 4.2.1-1.1 openSUSE-SU-2024:10512-1
Tumbleweed ruby2-7-rubygem-jquery-rails +1 4.4.0-1.7 openSUSE-SU-2024:11334-1
Tumbleweed ruby3-1-rubygem-jquery-rails 4.5.0-1.1 openSUSE-SU-2024:12144-1
Tumbleweed ruby3-2-rubygem-jquery-rails 4.5.1-1.3 openSUSE-SU-2024:13159-1
Tumbleweed ruby3-3-rubygem-jquery-rails 4.6.0-1.5 openSUSE-SU-2024:14169-1
Tumbleweed ruby3-4-rubygem-jquery-rails 4.6.0-1.7 openSUSE-SU-2025:15117-1

1 more row

References

Show all 21 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.