Rapid7

vulnerability

WordPress Plugin: ewww-image-optimizer: CVE-2024-31924: Cross-Site Request Forgery (CSRF)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
Apr 10, 2024
Added
May 15, 2025
Modified
Apr 30, 2026

Description

The EWWW Image Optimizer plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 7.2.3. This is due to missing or incorrect nonce validation on the check_for_optin() and check_for_optout() functions. This makes it possible for unauthenticated attackers to opt in and out of tracking via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Solution

ewww-image-optimizer-plugin-cve-2024-31924
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.