Vulnerability DatabaseGHSA-mjjq-c88q-qhr6

GHSA-mjjq-c88q-qhr6
JavaScript vulnerability analysis and mitigation

Overview

A critical Cross-Site Scripting (XSS) vulnerability was identified in DOMPurify versions prior to 2.0.7. The vulnerability was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. This security issue affects the npm package dompurify, which is a popular HTML sanitization library (GitHub Advisory).

Technical details

The vulnerability allows attackers to bypass DOMPurify's sanitization mechanisms through Mutation XSS (mXSS). The issue is tracked as GHSA-mjjq-c88q-qhr6 and is classified under CWE-79 (Cross-Site Scripting). The severity of this vulnerability has been assessed as Critical (GitHub Advisory).

Impact

When exploited, this vulnerability enables attackers to execute arbitrary JavaScript code in a victim's browser, potentially leading to complete compromise of the client-side security (GitHub Advisory).

Exploitability

The vulnerability affects all versions of DOMPurify below 2.0.7. The issue was discovered by security researcher @masatokinugawa who identified several mXSS vectors that could be exploited (DOMPurify Release).

Mitigation and workarounds

Users are strongly recommended to upgrade to DOMPurify version 2.0.7 or later, which contains the fix for this vulnerability. The patch addresses several mXSS vectors and includes a fix for a minor crash affecting MSIE11 (DOMPurify Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63376HIGH8.2
  • JavaScript logoJavaScript
  • trigger-dev
NoYesSep 03, 2026
GHSA-7q9c-hpx7-9cwmHIGH7.5
  • JavaScript logoJavaScript
  • @typespec/spector
NoYesSep 04, 2026
CVE-2026-77465HIGH7.5
  • JavaScript logoJavaScript
  • toml
NoYesSep 03, 2026
CVE-2026-71429MEDIUM6.2
  • JavaScript logoJavaScript
  • stream-json
NoYesSep 03, 2026
GHSA-6hxq-p678-4hr2LOW2
  • JavaScript logoJavaScript
  • @simplewebauthn/server
NoYesSep 04, 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