# GHSA-h6p3-p4vx-wr8q: dompurify vulnerable to Cross-site Scripting

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-01-11T23:47:24.000Z
- Modified: 2023-01-11T23:47:24.000Z

## Description

dompurify prior to version 2.2.3 is vulnerable to a cross-site scripting problem caused by nested headlines.

(As written by GitHub Advisory Database.)

## Affected

- dompurify (PyPI): before 2.2.3

## References

- <https://github.com/cure53/DOMPurify> (package)
- <https://github.com/cure53/DOMPurify/releases/tag/2.2.3> (web)
- <https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-2863266> (web)
- <https://www.vidocsecurity.com/blog/hacking-swagger-ui-from-xss-to-account-takeovers> (web)

## Sources

- GitHub Advisory Database: [GHSA-h6p3-p4vx-wr8q](https://github.com/advisories/GHSA-h6p3-p4vx-wr8q), CC-BY-4.0, modified 2023-01-11

---

Page: https://cve.day/GHSA-h6p3-p4vx-wr8q · Whole record: https://cve.day/GHSA-h6p3-p4vx-wr8q.json · Rebuilt by cve.day 2026-11-25T22:56:35.524Z
