CVE-2025-8723CWE-94

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

Critical · published August 19, 2025

CVSS v3.1
9.8
EPSS
18%
Percentile
97.2
In the wild
Unconfirmed
What it is

🚨 A single unauthenticated request can lead to total takeover! The Cloudflare Image Resizing plugin for WordPress, up to version 1.5.6, is wide open for Remote Code Execution! 🔥 Think of it like a delivery service that leaves the front door unlocked. An unauthorized courier can simply stroll in, unpack any malicious package they want, and take over the house without even ringing the doorbell! This vulnerability is absolutely devastating: an attacker could inject arbitrary PHP code, allowing them to execute commands as if they were a trusted administrator. They could modify or delete data, install malware, or completely compromise the website, leading to potential data breaches and loss of trust from users.

Put simply

Think of it like a delivery service that leaves the front door unlocked. An unauthorized courier can simply stroll in, unpack any malicious package they want, and take over the house without even ringing the doorbell! The flaw exists due to missing authentication and insufficient sanitization in the hook_rest_pre_dispatch() method. This allows unauthenticated attackers to exploit the system by injecting harmful code directly into the codebase.

What to do

This vulnerability is absolutely devastating: an attacker could inject arbitrary PHP code, allowing them to execute commands as if they were a trusted administrator. They could modify or delete data, install malware, or completely compromise the website, leading to potential data breaches and loss of trust from users. Update the Cloudflare Image Resizing plugin to the latest version immediately to mitigate this risk. Additionally, review your site's security settings and ensure that all user inputs are properly sanitized to prevent future vulnerabilities. Incorporating regular security audits can also help keep your site safe! You've got this! By following these steps, you can secure your site and protect against potential attacks. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.18034 · 97.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-08-19T07:26Z
EPSS history
Timeline
  • 19 AUG 07:26Z
    Cloudflare Image Resizing <= 1.5.6 - Missing Authentication to Unauthenticated Remote Code Execution via rest_pre_dispatch Hook
    cvelistv5