WP Compress <= 7.30.70 - Missing Authorization to Unauthenticated Delay JS Settings Modification via 'wpc_delay_v3_report' AJAX Action
- ID
- WPSEC-2026-3484
- Plugin
- WP Compress – Instant Performance & Speed Optimization (wp-compress-image-optimizer)
- Affected
- from 7.20.01 before 7.30.95
- Remediation
- Update to 7.30.95 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-862
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-19
- Attack surface
- WP Compress on WPSec AttackSurface
- Fix released
- Published
Description
The WP Compress plugin for WordPress is vulnerable to unauthorized modification of data via the visitor report beacons (the 'wpc_delay_v3_report' and 'wpc_presc_seen' AJAX actions) in all versions up to, and including, 7.30.70, due to a missing capability check on the handlers, which are registered for unauthenticated users and apply the changes a report asks for directly. The only check is a per-path stamp that the plugin prints into every public page. This makes it possible for unauthenticated attackers to send forged reports that change site-wide optimization settings: switching off the measured Delay JS manifest, adding the site's own script files to the Delay JS exclusion list, demoting the site's delay mode to the timer, and dropping reserved-space layout rules. These changes degrade site performance and purge cached pages.
References
- https://wpsec.com/vuln/WPSEC-2026-3484/
- https://plugins.svn.wordpress.org/wp-compress-image-optimizer/tags/7.30.95/
- 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