Skip to content

Cross-Site Scripting bypass in html-purify

High severity GitHub Reviewed Published Dec 4, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm html-purify (npm)

Affected versions

<= 1.1.0

Patched versions

None

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.

References

Reviewed Dec 4, 2020
Published to the GitHub Advisory Database Dec 4, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-5p28-63mc-cgr9

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.