Open Redirect Affecting dompurify package, versions <1.0.11


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DOMPURIFY-6062166
  • published16 Nov 2023
  • disclosed14 Nov 2023
  • creditUnknown

Introduced: 14 Nov 2023

CVE-2019-25155  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade dompurify to version 1.0.11 or higher.

Overview

dompurify is a DOM-only XSS sanitizer for HTML, MathML and SVG.

Affected versions of this package are vulnerable to Open Redirect in the hooks-target-blank-demo.html demo, via reverse tabnabbing. An attacker can redirect users to a malicious website by exploiting the lack of rel="noopener noreferrer" attribute in links.

CVSS Scores

version 3.1