CVE-2017-0931
mediumpriority · track · 24EPSS 0.010 · 64 %ileEUUSEPSS · scored 2026-10-27
html-janitor node module suffers from a Cross-Site Scripting (XSS) vulnerability via clean() accepting user-controlled values.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- html-janitor project html-janitor= 2.0.2nvdUScpe:2.3:a:html-janitor_project:html-janitor:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hfj4-96f7-6r5gCross-Site Scripting in html-janitor2018-11-09ghsa · osvUS
Versions of `html-janitor` prior to 2.0.2 (all current versions) are vulnerable to cross-site scripting (XSS). This is exploitable if user-controlled data is passed into the modules `clean()` function. ## Recommendation No fix is currently available for this vulnerability. It is recommended to use an alternative module for HTML sanitization.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/guardian/html-janitor/issues/34cnnvd
- https://hackerone.com/reports/308155cnnvd
- https://github.com/guardian/html-janitor/issues/34enisa_euvd
- https://hackerone.com/reports/308155enisa_euvd
- https://github.com/guardian/html-janitor/issues/34ExploitThird Party Advisorynvd
- https://hackerone.com/reports/308155ExploitIssue TrackingThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan