Stackovation
News & updates

React2Shell and the npm worms: the year’s web security news, for business owners

A critical React and Next.js flaw, and worms spreading through npm packages: what happened, whether your website or app is at risk, and what to ask your developer.

3 min readBy the Stackovation team

React2Shell: the flaw that hit React and Next.js

On 3 December 2025, the React team disclosed CVE-2025-55182, scored 10.0 out of 10. A bug in how React Server Components read incoming data let an attacker with no login run their own code on the server. Next.js, the most popular React framework, tracked it as CVE-2025-66478. Public exploit code followed quickly, and security firms reported attacks in the wild.

SoftwareVulnerableFixed in
React Server Components19.0.0, 19.1.0, 19.1.1, 19.2.019.0.1, 19.1.2, 19.2.1 and later
Next.js 1515.0 to 15.5 before their patch releases15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7 and later
Next.js 1616.0.0 to 16.0.616.0.7 and later

Other tools that bundle React Server Components — including React Router’s server features, Waku and some Expo and Vite setups — were also affected. Sites that only use React in the browser, without server components, were not.

Worms in the npm ecosystem

Almost every modern website and app is assembled from hundreds of open-source packages downloaded from npm. Attackers have learned that hijacking one popular package reaches thousands of companies at once. This year’s incidents included:

  • node-ipc (May 2026). Malicious versions of a library with over 10 million weekly downloads were published, carrying code that stole credentials.
  • Typosquatting and dependency confusion (May 2026). Microsoft reported packages with look-alike names, and fake versions of companies’ internal packages, built to steal cloud and build-system secrets.
  • ChainDrop (August 2026). A worm descended from 2025’s “Shai-Hulud” compromised hundreds of npm packages, stealing developer credentials and using them to infect more packages.

Four questions to ask your developer

  1. 01

    “Is our framework on a patched version?”

    For React or Next.js apps, ask for the version numbers and compare them with the table above.

  2. 02

    “Do we get alerts for vulnerable packages?”

    Tools such as GitHub’s Dependabot flag known problems automatically. Someone has to read and act on them.

  3. 03

    “Are our package versions locked?”

    A lockfile makes every build use exactly the versions you tested, so a hijacked new release doesn’t slip in on its own.

  4. 04

    “Did we rotate secrets after any alert?”

    If a compromised package ever ran on a developer machine or build server, passwords and API keys should be changed.

None of this is a one-off job. It is what a maintenance plan pays for — see what software maintenance costs after launch. And if your app was put together quickly with AI tools, read why AI-built apps keep leaking data.

Questions people ask

My website was built in 2024 and works fine. Is it at risk?
If it uses React Server Components or Next.js 15 or 16 and hasn’t been updated since November 2025, it may be. Working fine and being patched are different things — ask for the version numbers.
Is WordPress affected by React2Shell?
No. React2Shell affects React Server Components. WordPress sites have their own risks, mostly from outdated plugins, and need regular updates too.
How often should a website be updated?
Security fixes should go in within days of being released. Routine library updates once a month, and a bigger framework update once or twice a year, keep most sites safe.

Sources

  1. Help Net Security — Max-severity vulnerability in React patched (CVE-2025-55182)
  2. Datadog Security Labs — React2Shell remote code execution in React Server Components
  3. StepSecurity — Malicious node-ipc versions published to npm
  4. Microsoft Security — Typosquatted npm packages used to steal cloud and CI/CD secrets
  5. Datadog Security Labs — “ChainDrop” worm compromises hundreds of npm packages

Rules and prices change. Check the official source before you rely on a date or a number.

Planning something like this?

Tell us what you want to build. You’ll get a written scope and a fixed quote before any work starts.