Today, we published a security release for @nodejs.org that fixes a critical bug affecting virtually every production Node.js app. If you use React Server Components, Next.js, or ANY APM tool (Datadog, New Relic, OpenTelemetry), your app could be vulnerable to DoS attacks. ๐
Post
This is a mitigation, not a guarantee. Stack space exhaustion recovery is NOT specified by ECMAScript. V8 does it on a best-effort basis. If the recursion depth can be controlled by attackers, explicitly limit the depth. This is what the React and Next.js teams fixed in vercel.com/kb/bulletin/....
Upgrade now: Node.js 20.20.0 Node.js 22.22.0 Node.js 24.13.0 Node.js 25.3.0 Full technical deep dive in our blog post: nodejs.org/en/blog/vuln...
Small suggestion, I would put the note from the blog about all non-maintained lines being impacted *also* in the blog post featured in the banner on the website. nodejs.org/en/blog/vuln... nodejs.org/en/blog/vuln...
nodejs.orgNode.js โ Mitigating Denial-of-Service Vulnerability from Unrecoverable Stack Space Exhaustion for React, Next.js, and APM UsersNode.jsยฎ is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.