GitHub Advisoryadvisory · npm

GHSA-mjjq-c88q-qhr6 Cross-Site Scripting in dompurify

CRITICAL Published 2020-09-03 Modified 2021-09-29 Official page ↗
Ecosystem
npm
Packages
dompurify
Severity
Critical
Weaknesses
CWE-79
Reviewed
2020-08-31

Affected packages

• npm dompurify: < 2.0.7 → fixed in 2.0.7

Description

Versions of `dompurify` prior to 2.0.7 are vulnerable to Cross-Site Scripting (XSS). It is possible to bypass the package sanitization through Mutation XSS, which may allow an attacker to execute arbitrary JavaScript in a victim's browser. Recommendation Upgrade to version 2.0.7 or later.

Related

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References