# GHSA-pgjv-jrg2-gq3v: 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:05.000Z
- Modified: 2023-01-11T23:47:05.000Z

## Description

dompurify prior to version 2.2.2 is vulnerable to cross-site scripting when converting from SVG namespace.

(As written by GitHub Advisory Database.)

## Affected

- dompurify (PyPI): before 2.2.2

## References

- <https://github.com/cure53/DOMPurify/issues/482> (web)
- <https://github.com/cure53/DOMPurify> (package)
- <https://github.com/cure53/DOMPurify/releases/tag/2.2.2> (web)
- <https://security.snyk.io/vuln/SNYK-JS-DOMPURIFY-1035544> (web)

## Sources

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

---

Page: https://cve.day/GHSA-pgjv-jrg2-gq3v · Whole record: https://cve.day/GHSA-pgjv-jrg2-gq3v.json · Rebuilt by cve.day 2026-11-25T22:56:36.112Z
