ThumbPress <= 6.10.4 - Unauthenticated Sensitive Information Exposure via Hotlink Protection Image Proxy
- ID
- WPSEC-2026-4056
- Plugin
- ThumbPress – Compress Images, Manage Thumbnails, Detect Image Issues, WebP/AVIF, Lazy Loading, Hotlinking & More (image-sizes)
- Affected
- from 6.0.0 before 6.11.0
- Remediation
- Update to 6.11.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-552
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
- Attack surface
- ThumbPress on WPSec AttackSurface
- Fix released
- Published
Description
The ThumbPress – Compress Images, Manage Thumbnails, Detect Image Issues, WebP/AVIF, Lazy Loading, Hotlinking & More plugin for WordPress is vulnerable to Sensitive Information Exposure via the Hotlink Protection image proxy (/thumbpress-image/ and the 'thumbpress_image' parameter) in all versions from 6.0.0 up to, and including, 6.10.4. This is because the handle_image_request() function streams files from the uploads directory with readfile() and ignores the deny rules that the web server applies to upload subfolders. The only gate is the client-supplied Referer header. This makes it possible for unauthenticated attackers to send a same-site Referer header and read image files in protected upload folders, such as WooCommerce downloadable products or form-plugin uploads, provided they know the file's path. In versions 6.5 and later, exploitation requires the Hotlink Protection feature to be enabled and is limited to image file types.
References
- https://wpsec.com/vuln/WPSEC-2026-4056/
- https://plugins.svn.wordpress.org/image-sizes/tags/6.11.0/
- https://wordpress.org/plugins/image-sizes/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS