react vulnerabilities

React is a JavaScript library for building user interfaces.

Registry
npm
Latest
19.3.1
License
MIT

2 known advisories

The latest version, 19.3.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install react@19.3.1

Security advisories for react

  • MediumGHSA-g53w-52xc-2j854 Sept 2020

    Cross-Site Scripting in react

    Affected
    >=0.4.0 <0.4.2 · >=0.5.0 <0.5.2
    Fixed in
    0.4.2, 0.5.2
  • HighGHSA-hg79-j56m-fxgv4 Sept 2020

    Cross-Site Scripting in react

    Affected
    >=0.0.1 <0.14.0
    Fixed in
    0.14.0

Which of your client projects still run an old react?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.