# PNG to JPG <= 4.5 - Cross-Site Request Forgery to Yoast Indexable Table Deletion

- **ID:** WPSEC-2026-1759
- **Plugin:** PNG to JPG (`png-to-jpg`), https://wordpress.org/plugins/png-to-jpg/
- **Affected versions:** all versions before 4.6
- **Fixed in:** 4.6 (Update to 4.6 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/png-to-jpg
- **Fix released:** 2026-10-26
- **Published:** 2026-10-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1759/

## Description

The PNG to JPG plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.5 due to missing nonce validation on the 'yoast_reindex_everything' action of the plugin's settings page. This makes it possible for unauthenticated attackers to delete the contents of the Yoast SEO indexable tables via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-1759/
- https://plugins.svn.wordpress.org/png-to-jpg/tags/4.6/
- https://wordpress.org/plugins/png-to-jpg/

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

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.
