All CVEs / Html-janitor Project
CVE-2017-0931Html-janitor Project Html-janitor
Medium 6.1 No auth needed
Follow: this CVE · Html-janitor Project · Html-janitor Project Html-janitor We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 65
- Auth required
- No
- Published
- Jun 4, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
html-janitor node module suffers from a Cross-Site Scripting (XSS) vulnerability via clean() accepting user-controlled values.
What to do
- Apply the vendor's security update for Html-janitor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | html-janitor |
< 2.0.3 |
2.0.3 |
npm install html-janitor@2.0.3 |
Per OSV / GitHub Advisories (GHSA-hfj4-96f7-6r5g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| html-janitor_project | html-janitor | 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- hackerone.com Exploit Issue Tracking Third Party Advisory