Plugins · tiny-compress-images · data as of 2026-11-04
Is TinyPNG Image Optimization safe? Known vulnerabilities and latest version
- Latest version
- 3.8.1
- Last updated
- 2026-10-13
- Active installs
- 100,000+
- Known issues on record
- 2
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4
Speed up your website. Optimize your JPEG, PNG, and WebP images automatically with TinyPNG. — by TinyPNG
What to do
- Update to the latest version (3.8.1). Anything older than 3.6.14 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get tiny-compress-images --field=version shows what you run; wp plugin update tiny-compress-images updates it.
Check your version
Known vulnerabilities
2 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
high 8.1 CVE-2026-7311 · published 2026-07-02
Arbitrary file deletion in TinyPNG Image Optimization (3.6.13 and older)
- Affected
- 3.6.13 and older
- Fixed in
- 3.6.14 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The TinyPNG – JPEG, PNG & WebP image compression plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_converted_image_size function in all versions up to, and including, 3.6.13. This makes it possible for authenticated attackers, with author-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). An attacker can exploit this by injecting an arbitrary server file path into the 'convert.path' field of the 'tiny_compress_images' post meta on an attachment they own, then triggering attachment deletion to invoke the vulnerable code path.
NVD CVE-2026-7311Wordfence advisoryCode change (fix)Plugin source
medium 5.4 CVE-2024-47635 · published 2024-10-05
Cross-site request forgery (CSRF) in TinyPNG Image Optimization (3.4.3 and older)
- Affected
- 3.4.3 and older
- Fixed in
- 3.4.4
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Cross-Site Request Forgery (CSRF) vulnerability in TinyPNG TinyPNG tiny-compress-images allows Cross Site Request Forgery.This issue affects TinyPNG: from n/a through <= 3.4.3.
Recent activity
- 2026-10-13 — latest release on wordpress.org (3.8.1).
- 2026-07-02 — Arbitrary file deletion disclosed (CVE-2026-7311), fixed in 3.6.14.
- 2024-10-05 — Cross-site request forgery (CSRF) disclosed (CVE-2024-47635), fixed in 3.4.4.
Get an email when TinyPNG Image Optimization has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for TinyPNG Image Optimization (tiny-compress-images) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
Types found in this plugin: Arbitrary file deletion (1) · Cross-site request forgery (CSRF) (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/tiny-compress-images (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/tiny-compress-images"><img src="https://laskyr.com/plugins/tiny-compress-images/badge.svg" alt="TinyPNG Image Optimization vulnerability status"></a>