Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dompurify
  4. ›
  5. GMS-2023-28

GMS-2023-28: dompurify vulnerable to Cross-site Scripting

January 11, 2023

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

References

  • github.com/advisories/GHSA-h6p3-p4vx-wr8q
  • github.com/cure53/DOMPurify/releases/tag/2.2.3
  • security.snyk.io/vuln/SNYK-JS-DOMPURIFY-2863266
  • www.vidocsecurity.com/blog/hacking-swagger-ui-from-xss-to-account-takeovers/

Code Behaviors & Features

Detect and mitigate GMS-2023-28 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.3

Fixed versions

  • 2.2.3

Solution

Upgrade to version 2.2.3 or above.

Source file

pypi/dompurify/GMS-2023-28.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.