cve.bz

CVE-2015-1840

no score yetExploit referenceEPSS 4.5%Fix available

No CVSS score yet. EPSS 4.5% estimated probability of exploitation activity in the next 30 days. Fixed in jquery-rails 3.1.3, 4.0.4.

On this page
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.
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-1840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-1840?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-1840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-1840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedoraproject:fedora21
fedoraproject:fedora22
rubyonrails:jquery-railsthrough 3.1.2
rubyonrails:jquery-rails4.0.0
rubyonrails:jquery-rails4.0.1
rubyonrails:jquery-ujsthrough 1.0.3
opensuse:opensuse13.1
opensuse:opensuse13.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4whc-pp4x-9pf3RubyGemsjquery-rails<3.1.33.1.3
GHSA-4whc-pp4x-9pf3RubyGemsjquery-rails>=4.0.0 <4.0.44.0.4
GHSA-4whc-pp4x-9pf3RubyGemsjquery-ujs<1.0.41.0.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ruby-jquery-rails4.0.4-1DEBIAN-CVE-2015-1840
openSUSETumbleweedruby3.2-rubygem-jquery-rails4.5.1-1.3openSUSE-SU-2024:13159-1
openSUSETumbleweedrubygem-jquery-rails4.5.0-1.1openSUSE-SU-2024:12144-1
openSUSETumbleweedrubygem-jquery-rails4.6.0-1.5openSUSE-SU-2024:14169-1
openSUSETumbleweedrubygem-jquery-rails4.6.0-1.7openSUSE-SU-2025:15117-1
openSUSETumbleweedrubygem-jquery-rails4.6.0-1.9openSUSE-SU-2026:10350-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
CloudForms Management Engine 5ruby193-rubygem-jquery-railsAffected
Red Hat OpenShift Enterprise 2ruby193-rubygem-jquery-railsWill not fix
Red Hat Software Collectionsrh-ror41-rubygem-jquery-railsWill not fix
Red Hat Software Collectionsror40-rubygem-jquery-railsWill not fix
Red Hat Software Collectionsruby193-rubygem-jquery-railsWill not fix
Red Hat Subscription Asset Managerruby193-rubygem-jquery-railsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-1840.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON