原始 OSV JSON{
"id": "GHSA-r53w-g4xm-3gc6",
"aliases": [
"CVE-2017-1002201"
],
"details": "In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like `< > \" '` must be escaped properly. In this case, the `'` character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.",
"summary": "Haml vulnerable to cross-site scripting",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.0"
}
]
}
],
"package": {
"name": "haml",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-08-25T21:32:06Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2019-10-21T21:59:13Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1002201",
"type": "ADVISORY"
},
{
"url": "https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2",
"type": "WEB"
},
{
"url": "https://github.com/haml/haml",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/haml/CVE-2017-1002201.yml",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html",
"type": "WEB"
},
{
"url": "https://security.gentoo.org/glsa/202007-27",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-RUBY-HAML-20362",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2019-10-15T18:15:00Z",
"github_reviewed_at": "2019-10-16T15:18:02Z"
}
}