logo

CVE-2017-0931 html-janitor

Package

Manager: npm
Name: html-janitor
Vulnerable Version: >=0 <2.0.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.0022 pctl0.44562

Details

Cross-Site Scripting in html-janitor 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.

Metadata

Created: 2018-11-09T17:49:11Z
Modified: 2023-09-12T21:02:01Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-hfj4-96f7-6r5g/GHSA-hfj4-96f7-6r5g.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-hfj4-96f7-6r5g
Finding: F008
Auto approve: 1