{ "schema_version": "1.4.0", "id": "GHSA-fx46-whrj-73v5", "modified": "2023-09-12T20:47:14Z", "published": "2018-07-24T20:06:17Z", "aliases": [ "CVE-2017-0928" ], "summary": "Bypassing Sanitization using DOM clobbering in html-janitor", "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "html-janitor" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" } ] } ], "database_specific": { "last_known_affected_version_range": "< 2.0.4" } } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0928" }, { "type": "WEB", "url": "https://github.com/guardian/html-janitor/issues/35" }, { "type": "WEB", "url": "https://hackerone.com/reports/308158" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-fx46-whrj-73v5" }, { "type": "WEB", "url": "https://www.npmjs.com/advisories/569" } ], "database_specific": { "cwe_ids": [ "CWE-547", "CWE-642" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:35:41Z", "nvd_published_at": null } }