# 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`), https://wordpress.org/plugins/image-sizes/
- **Affected versions:** from 6.0.0 before 6.11.0
- **Fixed in:** 6.11.0 (Update to 6.11.0 or later.)
- **Severity:** Low 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-552
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/image-sizes
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4056/

## 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/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4056/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
