Skip to content
OpenAdvisories
High GHSA-hg79-j56m-fxgv

Cross-Site Scripting in react

Published Sep 4, 2020 · Updated Oct 1, 2021 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm react >= 0.0.1, < 0.14.0 0.14.0 GHSA-hg79-j56m-fxgv

References