# GHSA-H6P3-P4VX-WR8Q: dompurify vulnerable to Cross-site Scripting

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2023-01-11
- Modified: 2023-01-11

## Affected versions

- dompurify (PyPI): fixed in 2.2.3

## Description

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

## References

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

Page: https://cve.now/GHSA-H6P3-P4VX-WR8Q

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
