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. Learn more about Dependency Scanning →

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 Wed, 14 May 2025 12:15:57 +0000.