CVE-2015-1840: jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
(updated )
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.
References
- github.com/advisories/GHSA-4whc-pp4x-9pf3
- github.com/rails/jquery-rails
- github.com/rails/jquery-rails/blob/master/CHANGELOG.md
- github.com/rails/jquery-ujs/blob/master/CHANGELOG.md
- github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2015-1840.yml
- github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ujs/CVE-2015-1840.yml
- groups.google.com/forum/
- groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J
- nvd.nist.gov/vuln/detail/CVE-2015-1840
- web.archive.org/web/20200228084945/http://www.securityfocus.com/bid/75239
Code Behaviors & Features
Detect and mitigate CVE-2015-1840 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →