Same Origin Policy bypass in jquery-rails and jquery-ujs
Multiple products
At a glance
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 description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 4.487%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:rubyonrails | jquery-rails | Affected versions:≤ 3.1.2Show full version range for jquery-rails4.0.04.0.1 |
| Vendor:rubyonrails | jquery-ujs | Affected versions: ≤ 1.0.3 |
| Vendor:Fedora | fedora | Affected versions:21Show full version range for fedora22 |
| Vendor:opensuse | opensuse | Affected versions:13.1Show full version range for opensuse13.2 |
| Vendor:Debian | ruby-jquery-railsEnvironments (4)
| Affected versions: < 4.0.4-1 |
| Vendor:Fedora | rubygem-jquery-railsEnvironments (1)
| Affected versions: < 3.1.0-3.fc21 |
| Vendor:Fedora | rubygem-jquery-railsEnvironments (1)
| Affected versions: < 3.1.0-3.fc22 |
1–7 of 7 · Page 1 of 1
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:Nnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences