CVE-2015-1840Fedoraproject Fedora
Medium 5.0 No auth needed
Follow: this CVE · Fedoraproject · Fedoraproject Fedora We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 4.5% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jul 26, 2015
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-200
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Fedora.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | jquery-rails |
< 3.1.3 |
3.1.3 |
gem "jquery-rails", ">= 3.1.3" |
| RubyGems | jquery-rails |
≥ 4.0.0 < 4.0.4 |
4.0.4 |
gem "jquery-rails", ">= 4.0.4" |
| RubyGems | jquery-ujs |
< 1.0.4 |
1.0.4 |
gem "jquery-ujs", ">= 1.0.4" |
Per OSV / GitHub Advisories (GHSA-4whc-pp4x-9pf3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fedoraproject | fedora | 21 |
| fedoraproject | fedora | 22 |
| rubyonrails | jquery-rails | ≤ 3.1.2 |
| rubyonrails | jquery-rails | 4.0.0 |
| rubyonrails | jquery-rails | 4.0.1 |
| rubyonrails | jquery-ujs | ≤ 1.0.3 |
| opensuse | opensuse | 13.1 |
| opensuse | opensuse | 13.2 |
Official advisories
- ruby4.0-rubygem-jquery-rails-4.6.0-1.9 on GA media · SUSE · openSUSE-SU-2026:10350-1 · Mar 13, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.opensuse.org Third Party Advisory
- openwall.com
- www.securityfocus.com
- github.com Vendor Advisory
- github.com Vendor Advisory
- groups.google.com Exploit Vendor Advisory