Vulnerability DatabaseGHSA-pgjv-jrg2-gq3v

GHSA-pgjv-jrg2-gq3v
Python vulnerability analysis and mitigation

Overview

DOMPurify versions prior to 2.2.2 were found to be vulnerable to Cross-site Scripting (XSS) when converting from SVG namespace. The vulnerability was discovered and publicly disclosed on November 3, 2020, and was assigned the identifier GHSA-pgjv-jrg2-gq3v. DOMPurify is a DOM-only XSS sanitizer for HTML, MathML and SVG, and this vulnerability affected all versions below 2.2.2 (GitHub Advisory, Snyk Report).

Technical details

The vulnerability is classified as a Cross-site Scripting (XSS) issue with moderate severity. The issue specifically manifests when converting content from the SVG namespace, allowing potential mutation XSS attacks. The vulnerability was discovered through both public and private reports, leading to the identification of multiple mXSS variations (DOMPurify Release).

Impact

This vulnerability could allow attackers to perform cross-site scripting attacks, potentially leading to cookie theft, session hijacking, exposure of sensitive information, access to privileged services and functionality, or delivery of malware. The attack requires user interaction and can affect web servers, application servers, and web application environments (Snyk Report).

Mitigation and workarounds

The vulnerability was patched in DOMPurify version 2.2.2. Users are advised to upgrade to this version or higher to mitigate the risk. The fix addresses both the publicly disclosed mXSS bypass and a privately reported variation. Additionally, the update included adding dialog to the permitted elements list (DOMPurify Release).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22612HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22609HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22608HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026
CVE-2026-22690LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management