Advisory

GHSA-hfj4-96f7-6r5g

Also known as: CVE-2017-0931

Summary

Cross-Site Scripting in html-janitor

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-11-09 17:49 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

html-janitor

npm · All systems

Affected

  • introduced 0, fixed 2.0.3 (semver)

Fixed versions

2.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences