All reports
Medium

Cross-Site Scripting in html-janitor

Affected versions

Affected versions
< 2.0.3
Fixed version
2.0.3

Exploitation

CVE-2017-0931

Probability of exploitation in the next 30 days: 1.04%

FIRST EPSS · 2026-11-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.

Links