Vulnerabilities / WP Compress / WPSEC-2026-2340
WP Compress <= 7.30.35 - Cross-Site Request Forgery to Lite Connect
Medium 4.3
CWE-352Fixed in 7.30.45
- ID
- WPSEC-2026-2340
- Plugin
- WP Compress – Instant Performance & Speed Optimization (wp-compress-image-optimizer)
- Affected
- all versions before 7.30.45
- Remediation
- Update to 7.30.45 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weakness
- CWE-352
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-03
- Attack surface
- WP Compress on WPSec AttackSurface
- Fix released
- Published
Description
The WP Compress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 7.30.35. This is due to missing nonce validation on the wps_lite_connect AJAX action. This makes it possible for unauthenticated attackers to run the plugin's Lite connection flow with a forged request, which overwrites the site's stored API key with a newly issued Lite key and switches the plugin to Lite mode, granted they can trick a site administrator into performing an action such as clicking on a link.
References
- https://wpsec.com/vuln/WPSEC-2026-2340/
- https://plugins.svn.wordpress.org/wp-compress-image-optimizer/tags/7.30.45/
- https://wordpress.org/plugins/wp-compress-image-optimizer/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS