原始 OSV JSON{
"id": "GHSA-fx46-whrj-73v5",
"aliases": [
"CVE-2017-0928"
],
"details": "All versions of `html-janitor` are vulnerable to cross-site scripting (XSS).\n\nArbitrary HTML can pass the sanitization process, which can be unexpected and dangerous (XSS) in case user-controlled input is passed to the clean function.\"\n\n\n## Recommendation\n\nUpgrade to version 2.0.4 or later.",
"summary": "Bypassing Sanitization using DOM clobbering in html-janitor",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "html-janitor",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "< 2.0.4"
}
}
],
"modified": "2023-09-12T20:47:14Z",
"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-07-24T20:06:17Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0928",
"type": "ADVISORY"
},
{
"url": "https://github.com/guardian/html-janitor/issues/35",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/308158",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-fx46-whrj-73v5",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/569",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-547",
"CWE-642"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:35:41Z"
}
}