Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWZ4NDYtd2hyai03M3Y1
Bypassing Sanitization using DOM clobbering in html-janitor
All versions of html-janitor
are vulnerable to cross-site scripting (XSS).
Arbitrary HTML can pass the sanitization process, which can be unexpected and dangerous (XSS) in case user-controlled input is passed to the clean function."
Recommendation
Upgrade to version 2.0.4 or later.
Permalink: https://github.com/advisories/GHSA-fx46-whrj-73v5JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWZ4NDYtd2hyai03M3Y1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 6 years ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-fx46-whrj-73v5, CVE-2017-0928
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-0928
- https://github.com/guardian/html-janitor/issues/35
- https://hackerone.com/reports/308158
- https://github.com/advisories/GHSA-fx46-whrj-73v5
- https://www.npmjs.com/advisories/569
Blast Radius: 15.1
Affected Packages
npm:html-janitor
Dependent packages: 56Dependent repositories: 302
Downloads: 105,669 last month
Affected Version Ranges: < 2.0.4
No known fixed version
All affected versions: 0.2.0, 0.3.1, 0.3.2, 1.0.0, 1.0.1, 1.1.0, 2.0.0, 2.0.1, 2.0.2