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.
Problem types
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
*
Timeline
2025-08-08: | Vendor Notified |
2025-08-18: | Disclosed |
Credits
Kenneth Dunn
References
www.wordfence.com/...-1d45-4e2f-854a-171fe759257b?source=cve
wordpress.org/plugins/cf-image-resizing/
plugins.trac.wordpress.org/changeset/3337593/
plugins.trac.wordpress.org/changeset/3341917/