原始 OSV JSON{
"id": "GHSA-7g65-ghrg-hpf5",
"aliases": [
"CVE-2012-3465"
],
"details": "Cross-site scripting (XSS) vulnerability in `actionpack/lib/action_view/helpers/sanitize_helper.rb` in the `strip_tags` helper in Ruby on Rails before 2.3.16, 3.0.x before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via malformed HTML markup.",
"summary": "actionpack Cross-site Scripting vulnerability",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0.beta"
},
{
"fixed": "3.0.17"
}
]
}
],
"package": {
"name": "actionpack",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.8"
}
]
}
],
"package": {
"name": "actionpack",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.8"
}
]
}
],
"package": {
"name": "actionpack",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.16"
}
]
}
],
"package": {
"name": "actionpack",
"ecosystem": "RubyGems"
}
}
],
"modified": "2025-01-21T15:21:13Z",
"severity": [],
"published": "2017-10-24T18:33:37Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-3465",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/rails/commit/cf48c9c7dcbef8543171f7f7de8d3d9a16b58e77",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails/commit/e91e4e8bbee12ce1496bf384c04da6be296b687a",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://groups.google.com/group/rubyonrails-security/msg/7fbb5392d4d282b5?dmode=source&output=gplain",
"type": "WEB"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2012-08-10T10:34:47Z",
"github_reviewed_at": "2020-06-16T21:22:45Z"
}
}