Skip to content

Cross-Site Scripting in react

High severity GitHub Reviewed Published Sep 4, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm react (npm)

Affected versions

>= 0.0.1, < 0.14.0

Patched versions

0.14.0

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 4, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-hg79-j56m-fxgv

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.