CVE-2025-8723

Cloudflare Image Resizing <= 1.5.6 - Missing Authentication to Unauthenticated Remote Code Execution via rest_pre_dispatch Hook

Published Aug 19, 2025 CVSS 3.1 · 9.8 Critical EPSS 19.4% KEV · Not listed
Description
The Cloudflare Image Resizing plugin for WordPress is vulnerable to Remote Code Execution due to missing authentication and insufficient sanitization within its hook_rest_pre_dispatch() method in all versions up to, and including, 1.5.6. This makes it possible for unauthenticated attackers to inject arbitrary PHP into the codebase, achieving remote code execution.

Analysis

AI-generated

Technical impact

The Cloudflare Image Resizing WordPress plugin contains a critical flaw in its rest_pre_dispatch hook, where authentication is bypassed and user input is insufficiently sanitized. This flaw, identified as CWE-94, allows an attacker to inject arbitrary PHP code directly into the plugin’s execution context, resulting in full remote code execution over the web.

Affected Systems

The vulnerability affects the Cloudflare Image Resizing plugin developed by mecanik, released through the WordPress plugin repository. All versions up to and including 1.5.6 are impacted; any site that has installed or is running a version within this range and has the plugin’s REST endpoint exposed is susceptible.

Risk and Exploitability

With a CVSS score of 9.8 and an EPSS score of 19%, the potential for exploitation is significant. The bug is not listed in CISA’s KEV catalog yet, but the high severity coupled with an unauthenticated, REST‑based attack vector makes it a high‑priority target for attackers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Cloudflare Image Resizing to the earliest available patch version (at least 1.5.7).
  • If a patch is not immediately possible, remove or disable the plugin to eliminate the exposed entry point.
  • Apply a firewall or web‑application‑firewall rule to block unauthenticated POST requests to the rest_pre_dispatch endpoint until a fix can be deployed.

Generated by OpenCVE AI on November 9, 2026 at 14:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-28804 The Cloudflare Image Resizing plugin for WordPress is vulnerable to Remote Code Execution due to missing authentication and insufficient sanitization within its hook_rest_pre_dispatch() method in all versions up to, and including, 1.5.6. This makes it possible for unauthenticated attackers to inject arbitrary PHP into the codebase, achieving remote code execution.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Cloudflare Image Resizing plugin for WordPress is vulnerable to Remote Code Execution due to missing authentication and insufficient sanitization within its hook_rest_pre_dispatch() method in all versions up to, and including, 1.5.6. This makes it possible for unauthenticated attackers to inject arbitrary PHP into the codebase, achieving remote code execution.
Title Cloudflare Image Resizing <= 1.5.6 - Missing Authentication to Unauthenticated Remote Code Execution via rest_pre_dispatch Hook
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:35 PM
Reserved
Aug 7, 2025, 8:42 PM
Status
Deferred
Published
Aug 19, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:07 AM