Cross-Site Scripting bypass in html-purify
High severity
GitHub Reviewed
Published
Dec 4, 2020
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
Dec 4, 2020
Published to the GitHub Advisory Database
Dec 4, 2020
Last updated
Jan 9, 2023
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.
References