原始 OSV JSON
{
"id": "GHSA-hfj4-96f7-6r5g",
"aliases": [
"CVE-2017-0931"
],
"details": "Versions of `html-janitor` prior to 2.0.2 (all current versions) are vulnerable to cross-site scripting (XSS).\n\nThis is exploitable if user-controlled data is passed into the modules `clean()` function.\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is recommended to use an alternative module for HTML sanitization.",
"summary": "Cross-Site Scripting in html-janitor",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.3"
}
]
}
],
"package": {
"name": "html-janitor",
"ecosystem": "npm"
}
}
],
"modified": "2023-09-12T21:02:01Z",
"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": "2018-11-09T17:49:11Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0931",
"type": "ADVISORY"
},
{
"url": "https://github.com/guardian/html-janitor/issues/34",
"type": "WEB"
},
{
"url": "https://hackerone.com/reports/308155",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-hfj4-96f7-6r5g",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/576",
"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-16T21:39:59Z"
}
}