Advisory

GHSA-g53w-52xc-2j85

Also known as: CVE-2013-7035

Summary

Cross-Site Scripting in react

Details

Affected versions of react are vulnerable to Cross-Site Scripting (XSS). The package fails to properly sanitize input used to create keys. This may allow attackers to execute arbitrary JavaScript if a key is generated from user input.

Recommendation

If you are using react 0.5.x, upgrade to version 0.5.2 or later.
If you are using react 0.4.x, upgrade to version 0.4.2 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-04 16:52 UTC
Modified
2023-11-08 03:57 UTC

Affected packages and fixes

react

npm · All systems

Affected

  • introduced 0.4.0, fixed 0.4.2 (semver)

Fixed versions

0.4.2

Fix

react

npm · All systems

Affected

  • introduced 0.5.0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences