原始 OSV JSON{
"id": "GHSA-4whc-pp4x-9pf3",
"aliases": [
"CVE-2015-1840"
],
"details": "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.",
"summary": "jquery-rails and jquery-ujs subject to Exposure of Sensitive Information",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.3"
}
]
}
],
"package": {
"name": "jquery-rails",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.4"
}
]
}
],
"package": {
"name": "jquery-rails",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.4"
}
]
}
],
"package": {
"name": "jquery-ujs",
"ecosystem": "RubyGems"
}
}
],
"modified": "2026-01-14T21:44:14Z",
"severity": [],
"published": "2017-10-24T18:33:36Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1840",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-4whc-pp4x-9pf3",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/jquery-rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md",
"type": "WEB"
},
{
"url": "https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2015-1840.yml",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ujs/CVE-2015-1840.yml",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/#!topic/ruby-security-ann/XIZPbobuwaY",
"type": "WEB"
},
{
"url": "https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20200228084945/http://www.securityfocus.com/bid/75239",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html",
"type": "WEB"
},
{
"url": "http://openwall.com/lists/oss-security/2015/06/16/15",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-200"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2015-07-26T22:59:00Z",
"github_reviewed_at": "2020-06-16T20:59:28Z"
}
}