Cross-site Scripting (XSS) Affecting html-janitor package, versions *
Threat Intelligence
Exploit Maturity
Mature
EPSS
0.1% (42nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID npm:html-janitor:20180123-1
- published 14 Feb 2018
- disclosed 23 Jan 2018
- credit Martin Bajanik
Introduced: 23 Jan 2018
CVE-2017-0931 Open this link in a new tabHow to fix?
There is no fixed version for html-janitor
.
Overview
html-janitor is a library that cleans up your markup and allows you to take control of your HTML.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Passing user-controlled data to the module's clean() function can result in arbitrary JS execution, because of unsafe DOM operations.
References
CVSS Scores
version 3.1