Is react 0.12 vulnerable?

npm · 3 releases from 0.12.0 to 0.12.2 · latest react is 19.3.1 · checked 1 Nov 2026

Yes: 1 known advisory

Yes. react 0.12.2, the last 0.12 release, is affected by 1 known security advisory (1 high). Upgrade to 0.14.0 or later to fix all of them.

Upgrade with:npm install react@0.14.0

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting react 0.12.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 are still on react 0.12?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact react version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other react versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.