原始 OSV JSON
{
"id": "GHSA-wg96-3933-j2w5",
"aliases": [
"CVE-2017-16017"
],
"details": "Affected versions of `sanitize-html` are vulnerable to cross-site scripting.\n\n## Proof of Concept:\n\n`<IMG SRC= onmouseover=\"alert('XSS');\">`\nproduces the following:\n\n`<img src=\"onmouseover=\"alert('XSS');\"\" />`\nThis is definitely invalid HTML, but would suggest that it's being interpreted incorrectly by the parser.\n\n\n## Recommendation\n\nUpdate to version 1.2.3 or later.",
"summary": "Cross-Site Scripting in sanitize-html",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.3"
}
]
}
],
"package": {
"name": "sanitize-html",
"ecosystem": "npm"
}
}
],
"modified": "2023-09-08T23:10:15Z",
"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-11-09T17:45:55Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16017",
"type": "ADVISORY"
},
{
"url": "https://github.com/punkave/sanitize-html/issues/19",
"type": "WEB"
},
{
"url": "https://github.com/punkave/sanitize-html/pull/20",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-wg96-3933-j2w5",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/155",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T22:00:25Z"
}
}