Cross-site Scripting (XSS) Affecting sanitize-html package, versions <=1.4.2


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 IDnpm:sanitize-html:20160801
  • published1 Aug 2016
  • disclosed1 Aug 2016
  • creditBjörn Kimminich

Introduced: 1 Aug 2016

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

How to fix?

Upgrade sanitize-html to 1.4.3 or later

Overview

Sanitization of HTML strings is not applied recursively to input, allowing an attacker to potentially inject script and other markup.

Source: Node Security Project

Details

<>

CVSS Scores

version 3.1