Advisories · Node.js & Next.js
CVE-2025-55183
Medium
CVSS 5.3
React Server Components source exposure
Disclosed 2025 · Last reviewed 2 Dec 2026
A crafted request could return compiled server source. It did not, by itself, run code.
What happened
An error path included server function source in the response.
Affected and patched versions
- Affected
- React Server Components packages that were not on the final December 2025 patch.
- Patched
- React 19.0.3, 19.1.4, 19.2.3, and the matching Next.js releases.
How to check your server
Check
npm ls next
How to fix and harden
- Install the final patched releases, not the first round.
- Treat source that leaked from an exposed app as public and rotate any secret that was compiled into a server function.
Fix
npm ls next
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON