Open Redirect Affecting org.webjars.bowergithub.cure53:dompurify package, versions [,1.0.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.06% (29th 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 ID SNYK-JAVA-ORGWEBJARSBOWERGITHUBCURE53-6069836
  • published 20 Nov 2023
  • disclosed 14 Nov 2023
  • credit Unknown

How to fix?

Upgrade org.webjars.bowergithub.cure53:dompurify to version 1.0.11 or higher.

Overview

org.webjars.bowergithub.cure53: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
Expand this section

Snyk

Recommended
6.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

6.1 medium