Home / Fedoraproject / Fedora / CVE-2015-1840
CVE-2015-1840: is it exploited, and which versions of Fedoraproject Fedora are affected and fixed?
CVE-2015-1840 is an information disclosure vulnerability in Fedoraproject Fedora. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: jquery-rails before 3.1.3, jquery-rails from 4.0.0 before 4.0.4 and jquery-ujs before 1.0.4 (GitHub advisory GHSA-4whc-pp4x-9pf3). Fixed in 3.1.3, 4.0.4 and 1.0.4 (GitHub advisory GHSA-4whc-pp4x-9pf3). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2015-1840?
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.
From the CVE record by redhat, last updated August 6, 2024, 04:54 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | jquery-rails | < 3.1.3 | 3.1.3 | GHSA-4whc-pp4x-9pf3 |
| RubyGems | jquery-rails | >= 4.0.0, < 4.0.4 | 4.0.4 | GHSA-4whc-pp4x-9pf3 |
| RubyGems | jquery-ujs | < 1.0.4 | 1.0.4 | GHSA-4whc-pp4x-9pf3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 14, 2026. Summary: jquery-rails and jquery-ujs subject to Exposure of Sensitive Information.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fedoraproject | fedora | 21 | operating system |
| fedoraproject | fedora | 22 | operating system |
| rubyonrails | jquery-rails | through 3.1.2 | application |
| rubyonrails | jquery-rails | 4.0.0 | application |
| rubyonrails | jquery-rails | 4.0.1 | application |
| rubyonrails | jquery-ujs | through 1.0.3 | application |
| opensuse | opensuse | 13.1 | operating system |
| opensuse | opensuse | 13.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:23 UTC.
How severe is CVE-2015-1840?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-1840 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.49% probability of exploitation activity in the next 30 days, percentile 91.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- FEDORA-2015-10144 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2015:1260 vendor-advisory, x_refsource_SUSE
- [oss-security] 20150616 [CVE-2015-1840] CSRF Vulnerability in jquery-ujs and jquery-rails mailing-list, x_refsource_MLIST
- FEDORA-2015-10258 vendor-advisory, x_refsource_FEDORA
- [rubyonrails-security] 20150616 [CVE-2015-1840] CSRF Vulnerability in jquery-ujs and jquery-rails mailing-list, x_refsource_MLIST
- 75239 vdb-entry, x_refsource_BID
- https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md x_refsource_CONFIRM
- https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- February 17, 2015
- Published
- July 26, 2015, 22:00 UTC
- CVE record updated
- August 6, 2024, 04:54 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:23 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Fedora?
- Nov 19, 2021CVE-2021-44026 Roundcube Webmail: SQL injection exploited
- Jan 26, 2021CVE-2021-3156 Sudo Project Sudo: off-by-one Error exploited
- Jan 18, 2021CVE-2020-36193 Php Archive Tar: path traversal (reading or writing files outside the intended folder) exploited
- Dec 28, 2020CVE-2020-35730 Roundcube Webmail: cross-site scripting (XSS) exploited
- Nov 19, 2020CVE-2020-28949 Php Archive Tar: injection exploited
- Nov 6, 2020CVE-2020-16846 Saltstack Salt: OS command injection exploited
- Jun 9, 2020CVE-2020-13965 Roundcube Webmail: cross-site scripting (XSS) exploited
- Jan 29, 2020CVE-2020-7247 Openbsd Opensmtpd: OS command injection exploited
Questions about CVE-2015-1840
Is CVE-2015-1840 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 4.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Fedoraproject Fedora are affected by CVE-2015-1840?
jquery-rails before 3.1.3, jquery-rails from 4.0.0 before 4.0.4 and jquery-ujs before 1.0.4, per the GitHub advisory GHSA-4whc-pp4x-9pf3. The tables above give every range the sources list.
Which version fixes CVE-2015-1840?
3.1.3, 4.0.4 and 1.0.4, per the GitHub advisory GHSA-4whc-pp4x-9pf3. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-1840?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-1840?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.