原始 OSV JSON{
"id": "GHSA-gm25-fpmr-43fj",
"aliases": [
"CVE-2007-3227"
],
"details": "Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.",
"summary": "Moderate severity vulnerability that affects rails",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.5"
}
]
}
],
"package": {
"name": "rails",
"ecosystem": "RubyGems"
}
}
],
"modified": "2025-04-09T15:18:55Z",
"severity": [],
"published": "2017-10-24T18:33:38Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3227",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-gm25-fpmr-43fj",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-3227.yml",
"type": "WEB"
},
{
"url": "http://bugs.gentoo.org/show_bug.cgi?id=195315",
"type": "WEB"
},
{
"url": "http://dev.rubyonrails.org/ticket/8371",
"type": "WEB"
},
{
"url": "http://osvdb.org/36378",
"type": "WEB"
},
{
"url": "http://pastie.caboo.se/65550.txt",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/25699",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/27657",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/27756",
"type": "WEB"
},
{
"url": "http://security.gentoo.org/glsa/glsa-200711-17.xml",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release",
"type": "WEB"
},
{
"url": "http://www.novell.com/linux/security/advisories/2007_24_sr.html",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/24161",
"type": "WEB"
},
{
"url": "http://www.vupen.com/english/advisories/2007/2216",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2007-06-14T23:30:00Z",
"github_reviewed_at": "2020-06-16T21:37:37Z"
}
}