CVE-2017-0931
Cross-Site Scripting in html-janitor
6.1
MEDIUM
CVSS 3.1
EPSS 0.22%
Description
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.
How to fix CVE-2017-0931
To remediate CVE-2017-0931, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.3 or later
Is CVE-2017-0931 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |