VDB
Sign up
HIGH

GHSA-hg79-j56m-fxgv

Cross-Site Scripting in react

Quick fix

GHSA-hg79-j56m-fxgv — react: upgrade to the fixed version with the command below.

npm install react@0.14.0

Details

Versions of `react` prior to 0.14.0 are vulnerable to Cross-Site Scripting (XSS). The package's `createElement` function fails to properly validate its input object, allowing attackers to execute arbitrary JavaScript in a victim's browser.

## Recommendation

Upgrade to version 0.14.0 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/react
Introduced in: 0.0.1Fixed in: 0.14.0
Fixnpm install react@0.14.0

References