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-73v5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWZ4NDYtd2hyai03M3Y1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 6 years ago
Updated: 8 months 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: Repository: https://github.com/guardian/html-janitor
Blast Radius: 15.1

Affected Packages

npm:html-janitor
Dependent packages: 56
Dependent repositories: 302
Downloads: 94,938 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