PT-2025-25581 · Opennext+1 · @Opennextjs/Cloudflare+1

Edward Coristine

·

Published

2025-06-16

·

Updated

2026-03-05

·

CVE-2025-6087

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @opennextjs/cloudflare versions prior to 1.3.0 create-cloudflare versions prior to 2.49.3
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. The vulnerability can lead to arbitrary remote content loading, potential internal service exposure, or phishing risks through domain abuse.
Recommendations For @opennextjs/cloudflare versions prior to 1.3.0, update to version 1.3.0 or later. For create-cloudflare versions prior to 2.49.3, update to version 2.49.3 or later. As a temporary workaround, consider restricting access to the "/ next/image" endpoint to only load images. Use the remotePatterns filter in Next config to allow-list external URLs with image assets if needed.

Fix

SSRF

Weakness Enumeration

Related Identifiers

BDU:2025-06872
CVE-2025-6087
GHSA-C7MQ-GH6Q-6Q7C
GHSA-RVPW-P7VW-WJ3M

Affected Products

@Opennextjs/Cloudflare
Create-Cloudflare