WordPress security changelog
CRITICAL CVE-2025-8723 Deferred

Cloudflare Image Resizing: Code execution

Cloudflare Image Resizing is affected by code execution. The vulnerable path is reachable without authentication. Successful exploitation can run attacker-controlled code in the WordPress hosting account.

CVE / CNA score 9.8 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Cloudflare Image Resizing
Plugin slug
cf-image-resizing
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Aug 19, 2025
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')

This CVE was published Aug 19, 2025 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Cloudflare Image Resizing to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources