Cross-site Scripting (XSS) Affecting eslint-plugin-no-unsanitized package, versions >=3.0.1 <3.0.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 IDSNYK-JS-ESLINTPLUGINNOUNSANITIZED-173734
  • published1 Mar 2019
  • disclosed26 Feb 2019
  • creditKrzysztof Kotowicz

Introduced: 26 Feb 2019

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

How to fix?

Upgrade eslint-plugin-no-unsanitized to version 3.0.2 or higher.

Overview

eslint-plugin-no-unsanitized defines rules to disallow unsafe coding practices that may result into security vulnerabilities.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to allowing use of the dynamic 'import()' function which accepts expressions.

Details

CVSS Scores

version 3.1