TLDR
The flaw is CVE-2025-55182 in React Server Components, a remote code execution bug that lets attackers inject wallet?drainer scripts into crypto websites, leading to stolen funds per industry reports.
- Unauthenticated RCE enables arbitrary code on servers running React Server Components, now used to plant wallet drainers on legitimate sites per a security alert.
- Drainers target permit signatures and intercept wallet communications to redirect funds to attacker addresses per a detailed brief.
- Fixes were released on Dec 3 for affected react?server?dom packages; upgrade guidance is live and urged immediately per the React team summary.
Deep Dive
1. The Flaw
CVE-2025-55182 affects React Server Components and allows unauthenticated remote code execution on servers using react?server?dom packages. This gives attackers a direct path to run their own code. Affected versions and packages are detailed, with patches issued in React 19.0.1, 19.1.2, and 19.2.1, and framework guidance for ecosystems like Next.js in the brief above.
If a crypto site uses vulnerable server?side React components and hasnt patched, attackers can insert malicious code without credentials.
2. How Wallet Drains Happen
Security teams report a surge in drainer scripts silently uploaded to legitimate crypto websites by exploiting the RCE, then tricking users into approving malicious transactions. Tactics include hijacking permit signatures and intercepting wallet messages to redirect funds to attacker wallets per the alert above and the technical write?up linked earlier.
Even trusted sites can serve malicious prompts. Unexpected or unclear signature requests carry elevated risk until vulnerable servers are patched.
3. Patches and Exposure
The React team published a fix on Dec 3 and urged immediate upgrades for react?server?dom?webpack, react?server?dom?parcel, and react?server?dom?turbopack, noting that apps not using server components are unaffected per the update above. Security groups also flagged a broad uptick in drainer deployments exploiting this CVE on crypto sites in the market update above.
Websites must update and audit for unfamiliar or obfuscated assets. Users should be cautious with permits and signature prompts until operators confirm remediation.
Conclusion
CVE-2025-55182 in React Server Components enables attackers to inject wallet?draining code into legitimate crypto sites. The fix exists, but risk persists where servers remain unpatched. The practical takeaway is simple: operators need to upgrade the affected react?server?dom packages, and users should treat unexpected signature prompts skeptically until remediation is confirmed across key sites.
