# CVE-2017-0931

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-06-04 · Modified: 2024-09-17
- Aliases: GHSA-hfj4-96f7-6r5g
- Record: https://cvemate.com/vulnerability/CVE-2017-0931 · JSON: https://cvemate.com/vulnerability/CVE-2017-0931/json

## Description

```text
html-janitor node module suffers from a Cross-Site Scripting (XSS) vulnerability via clean() accepting user-controlled values.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 1.039%, percentile 65.083%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- hackerone html-janitor node module: All versions (No fix recorded)
- html-janitor\_project html-janitor: 2.0.2
- Npm html-janitor (Npm): \< 2.0.3

## References

- <https://github.com/guardian/html-janitor/issues/34>
- <https://hackerone.com/reports/308155>
- <https://nvd.nist.gov/vuln/detail/CVE-2017-0931>
- <https://github.com/advisories/GHSA-hfj4-96f7-6r5g>
- <https://www.npmjs.com/advisories/576>

---

Data as of 2026-12-05T05:17:42.425Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
