react (npm)
The library for web and native user interfaces.
Advisories
4
Latest version
19.3.1
Released Oct 14, 2026
License
MIT
OpenSSF Scorecard
—
How to fix
Upgrading to 0.14.0 or later clears every advisory below that has a fix.
Upgrade commands
npm
npm install react@19.3.1yarn
yarn add react@19.3.1pnpm
pnpm add react@19.3.1Known vulnerabilities
| Advisory | Severity | Affected | Fixed in |
|---|---|---|---|
| MAL-2024-2929 Malicious code in react (npm) Withdrawn |
Not rated yet | No fix yet | |
| GHSA-g53w-52xc-2j85 Cross-Site Scripting in react |
Medium | >= 0.4.0, < 0.4.2 | 0.4.2 |
| GHSA-g53w-52xc-2j85 Cross-Site Scripting in react |
Medium | >= 0.5.0, < 0.5.2 | 0.5.2 |
| GHSA-hg79-j56m-fxgv Cross-Site Scripting in react |
High | >= 0.0.1, < 0.14.0 | 0.14.0 |
Source: git+https://github.com/react/react.git
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor