Square Thumbnails <= 2.4.0 - Authenticated (Author+) Missing Authorization to Arbitrary Attachment Thumbnail Regeneration

Medium 4.3 CWE-862Fixed in 2.5
ID
WPSEC-2026-3759
Plugin
Square Thumbnails – Square Product Images Without Cropping (square-thumbnails)
Affected
from 2.3.0 before 2.5
Remediation
Update to 2.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-11-24
Attack surface
Square Thumbnails on WPSec AttackSurface
Fix released
Published

Description

The Square Thumbnails plugin for WordPress is vulnerable to unauthorized modification of data via the 'sqt_regenerate_single' AJAX action and the 'Regenerate Square Thumbnails' Media Library bulk action in all versions up to, and including, 2.4.0, due to the handlers only checking the upload_files capability and not checking whether the user can edit the specific attachment. This makes it possible for authenticated attackers, with Author-level access and above, to regenerate the square thumbnails and rewrite the metadata of image attachments belonging to other users.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0