Skip to content
OpenAdvisories
High GHSA-5p28-63mc-cgr9

Cross-Site Scripting bypass in html-purify

Published Dec 4, 2020 · Updated Dec 4, 2020 · Assigned by GHSA

Description

All versions of html-purify are vulnerable to cross-site scripting. The data attribute inside of object tags is not properly sanitized and allows javascript URIs leading to code execution.

No fix is currently available. Consider using an alternative package until a fix is made available.

Affected packages

EcosystemPackageAffectedFixedRecord
npm html-purify <= 1.1.0 — GHSA-5p28-63mc-cgr9

References