Cross-site Scripting (XSS) Affecting org.webjars.bower:dompurify package, versions [0.7.3,0.8.0)


Severity

Recommended
0.0
medium
0
10

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

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 Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSBOWER-479620
  • published24 Apr 2017
  • disclosed11 Apr 2016
  • creditjampy

Introduced: 11 Apr 2016

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade dompurify to version 0.8.0 or higher.

Overview

dompurify is a DOM-only XSS sanitizer for HTML, MathML and SVG. Affected versions of the package are vulnerable to Cross-site Scripting (XSS) attacks. SVG tags are case sensitive, but DOMPurify transforms these tags to lowercase. This causes the SVG document to render incorrectly, and may trigger a flaw in the Opera browser.

Details

<>

CVSS Scores

version 3.1