Advisory

GHSA-fx46-whrj-73v5

Also known as: CVE-2017-0928

Summary

Bypassing Sanitization using DOM clobbering in html-janitor

Details

All versions of html-janitor are vulnerable to cross-site scripting (XSS).

Arbitrary HTML can pass the sanitization process, which can be unexpected and dangerous (XSS) in case user-controlled input is passed to the clean function."

Recommendation

Upgrade to version 2.0.4 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-07-24 20:06 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

html-janitor

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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