SSRF vulnerability in opennextjs-cloudflare via /_next/image endpoint
opennextjs-cloudflare
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @opennextjs/cloudflare npm |
|
|
Original description
A Server-Side Request Forgery (SSRF) vulnerability was identified in the @opennextjs/cloudflare package. The vulnerability stems from an unimplemented feature in the Cloudflare adapter for Open Next, which allowed unauthenticated users to proxy arbitrary remote content via the /_next/image endpoint.
This issue allowed attackers to load remote resources from arbitrary hosts under the victim site’s domain for any site deployed using the Cloudflare adapter for Open Next.