We recently found a new RCE chain affecting the Node.js ImageResponse implementation in Next.js.
@rafabd1_2.1K followers
17,853 views
9 Comments
Comments from the original post on X (Twitter)

@rixardoooo
presente professor
2 likes

@992vuln992
Is there no public PoC available for this yet?
1 like

@rafabd1_
Not yet, probably next week

@mastomii
Hi, great finding! Btw, is there a way to keep the app running even after RCE is achieved?
1 like

@rafabd1_
If the app is using multiple workers/replicas probably, here since I used just a simple process it ends up crashing inevitably
1 like

@mastomii
I see, thanks for the insight

@kolovskydev
Nice find, the Node-only part is the interesting bit. Different rasterizer on that path or same lib with a different sandbox?

@rafabd1_
Different rasterizers. Edge uses Resvg/WASM, while the Node path uses a different lib
1 like

@iamjustape
What makes this wild is how the unescaped user input inside Satori's SVG parser gets passed straight down to underlying native bindings like resvg-js to pull off the full RCE.
