原始 OSV JSON
{
"id": "GHSA-mq35-wqvf-r23c",
"aliases": [
"CVE-2018-11627"
],
"details": "Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.",
"summary": "Sinatra Cross-site Scripting vulnerability",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.2"
}
]
}
],
"package": {
"name": "sinatra",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-01-23T21:24:55Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2018-06-05T21:32:06Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11627",
"type": "ADVISORY"
},
{
"url": "https://github.com/sinatra/sinatra/issues/1428",
"type": "WEB"
},
{
"url": "https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0212",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2019:0315",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2018-11627.yml",
"type": "WEB"
},
{
"url": "https://github.com/sinatra/sinatra",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2018-05-31T19:29:00Z",
"github_reviewed_at": "2020-06-16T21:46:50Z"
}
}