# GHSA-5p28-63mc-cgr9: Cross-Site Scripting bypass in html-purify

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-12-04T20:04:37.000Z
- Modified: 2020-12-04T20:02:42.000Z
- Weaknesses: CWE-79

## 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.

(As written by GitHub Advisory Database.)

## Affected

- html-purify (npm): up to 1.1.0

## References

- <https://www.npmjs.com/advisories/1586> (web)

## Sources

- GitHub Advisory Database: [GHSA-5p28-63mc-cgr9](https://github.com/advisories/GHSA-5p28-63mc-cgr9), CC-BY-4.0, modified 2020-12-04

---

Page: https://cve.day/GHSA-5p28-63mc-cgr9 · Whole record: https://cve.day/GHSA-5p28-63mc-cgr9.json · Rebuilt by cve.day 2026-11-25T22:56:44.220Z
