Cross-site Scripting (XSS) Affecting react package, versions >=0.0.1 <0.14.0


Severity

Recommended
0.0
high
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:react:20150318
  • published18 Jan 2017
  • disclosed17 Mar 2015
  • creditDaniel LeCheminant

Introduced: 17 Mar 2015

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

How to fix?

Upgrade react to version 0.14.0 or higher.

Overview

react is React is a JavaScript library for building user interfaces..

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) due to the createElement method not validating the object, allowing a malicious user to pass a specially crafted JSON object and renders them as an element.

Details

<>

CVSS Scores

version 3.1