Skip to main content

EWWW Image Optimizer CVE-2026-91051

| EUVDEUVD-2026-89618 MEDIUM
Deserialization of Untrusted Data (CWE-502)
2026-09-30 contact@wpscan.com GHSA-rhvr-pxgv-9rpq
6.6
CVSS 3.1 · Vendor: wpscan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain author-level account
  2. Delivery
    Store serialized object in post meta
  3. Exploit
    Post rendered triggers deserialization
  4. Execution
    PHP Object Injection instantiates gadget
  5. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated WordPress account with at least author-level capabilities on a site running EWWW Image Optimizer before 8.8.0, plus the ability to save post meta containing a serialized payload. Exploitation is limited by: (1) authentication - the attacker must control an author (or higher) role, not an anonymous visitor; (2) the availability of a usable PHP POP gadget chain in EWWW itself or another installed plugin/theme to escalate object injection to RCE (the description explicitly conditions RCE on 'a suitable gadget chain'); and (3) the affected post being rendered to trigger deserialization. Without a reachable gadget chain the outcome is object injection without guaranteed code execution.

Impact

This is a genuine but conditional risk. The CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H = 6.6) describes a network-reachable PHP Object Injection (CWE-502) with total technical impact, corroborated by SSVC (Technical Impact: total). However, several signals temper urgency: SSVC Exploitation is 'none' and Automatable is 'no', no EPSS score was supplied, there is no CISA KEV listing, and no public exploit was identified. The most important caveat is a privilege conflict: the vector encodes PR:H, but the description explicitly states 'authenticated users with author-level permissions,' which in standard WordPress role-to-CVSS mapping is PR:L (Author is a low-privilege role, not administrator). If PR:L is correct, the real-world exposure is broader than the 6.6 score implies. Additionally, RCE is explicitly conditional ('when a suitable gadget chain is present'), which justifies the AC:H rating and means the impact depends on other installed code - absent a reachable gadget chain the practical outcome is object injection without guaranteed code execution. Net: a real priority for sites that grant untrusted users author accounts, but not an internet-wide emergency given the auth requirement, gadget-chain dependency, and SSVC 'no' automatable / 'none' exploitation status.

Exploit ScenarioDerived

An attacker holding (or registering/phishing into) an author-level WordPress account on a site running EWWW Image Optimizer < 8.8.0 saves a crafted serialized PHP object into a post meta field; when that post is rendered the value is deserialized, triggering PHP Object Injection. If a suitable POP gadget chain exists in EWWW or another installed plugin/theme, the injected object leads to remote code execution on the server. No public exploit code has been identified, and reliable RCE depends on the presence of a usable gadget chain (AC:H).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 30, 2026

PHP Object Injection in the EWWW Image Optimizer WordPress plugin before 8.8.0 allows an authenticated user holding author-level or higher privileges to persist a serialized payload into a post meta field that the plugin unserializes when the post is rendered, which can escalate to remote code execution when a suitable POP gadget chain is reachable in EWWW itself or in another installed plugin or theme. Exploitation is conditional: it requires a valid author (or higher) account, the ability to write the offending meta value, and the affected post being rendered, and without a usable gadget chain the outcome stops at object injection rather than code execution. No public exploit code and no confirmed active exploitation have been identified at time of analysis (CISA SSVC records Exploitation: none and Automatable: no), and our independent assessment characterises this as a genuine but conditional risk.

RemediationAI

Vendor-released patch: upgrade EWWW Image Optimizer to 8.8.0 or later - this is the first fixed release and the plugin can be updated from the WordPress dashboard or via WP-CLI ('wp plugin update ewww-image-optimizer'). Where the update cannot be applied immediately, the most effective compensating control is to deactivate the plugin until patching is possible; the trade-off is loss of image compression and WebP/AVIF conversion for the site. A less disruptive option is to tighten role hygiene: audit all accounts for author-level or higher privileges, remove or demote unused and shared author accounts, and enforce strong authentication and least privilege for anyone who must retain posting rights, accepting that this breaks editorial workflows for legitimate contributors. Defenders can also monitor wp_postmeta for values beginning with serialized markers such as 'O:' or 'a:' that are written by unusually new or low-privileged accounts, though this is noisy and prone to false positives from legitimate plugins that store serialized arrays. Reducing the available gadget surface helps limit escalation: remove unused plugins and themes so that known POP chains are not present on the host, but note that a chain may already exist in EWWW or in actively used components and cannot be ruled out. WAF or virtual-patching rules aimed at serialized payloads in post meta requests can slow exploitation but are bypassable through encoding variations and should not replace the 8.8.0 upgrade. No vendor-released patch was identified for anything other than upgrading to 8.8.0 or later; consult the WPScan entry (https://wpscan.com/vulnerability/e24a9497-8fb4-4067-8421-194725455d55/) for any updated guidance.

Affected VersionsENISA

EWWW Image Optimizer 8.6.0 <8.8.0

Affected Packages

euvd ewww_image_optimizer fix: 8.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-502 (Deserialization of Untrusted Data) in a WordPress plugin. WordPress stores arbitrary key/value pairs in the wp_postmeta table via the post meta API, and any user able to edit or create posts - including author-level accounts - can write such values. EWWW Image Optimizer before 8.8.0 fails to prevent an attacker-controlled meta value from being stored in PHP's serialized format and later passes it to unserialize() during post rendering. Because PHP deserialization instantiates whatever classes are named in the payload and invokes magic methods such as __wakeup(), __destruct(), __toString() or __call(), a crafted object graph can trigger a so-called PHP Object Injection; the payload by itself does not execute code, but chains of existing classes (POP gadget chains) shipped by EWWW, other plugins, or the active theme can convert object instantiation into file writes, arbitrary method calls, or full remote code execution. The assessed vector is AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - network-reachable, unauthenticated at the transport layer but requiring a low-privileged authenticated account (author role, per the advisory's stated prerequisite), with high attack complexity because a workable gadget chain and a rendered post are both necessary, and with high confidentiality, integrity and availability impact once the chain succeeds. The provided NVD-style vector rates the same flaw at PR:H, reflecting a stricter reading of which roles can reach the sink; our assessment applies PR:L because author-level accounts are explicitly named in the advisory as sufficient. The accompanying SSVC decision (Exploitation: none, Automatable: no, Technical Impact: total) matches this picture: high theoretical impact that is not currently automatable end-to-end because the gadget chain must exist and be reachable. ENISA tracks the issue as EUVD-2026-89618.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wpscan) PRIMARY 6.6 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Author is a low-privilege WordPress role (PR:L, not PR:H); AC:H because reliable RCE requires a suitable gadget chain; network vector with full C/I/A on successful injection-to-RCE.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (wpscan).

CVSS VectorVendor: wpscan

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch available
Sep 30, 2026 - 07:01 EUVD
CVE Published
Sep 30, 2026 - 06:17 cve.org
MEDIUM 6.6
CVE Published
Sep 30, 2026 - 06:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The EWWW Image Optimizer WordPress plugin before 8.8.0 does not prevent authenticated users with author-level permissions from storing a serialized value in a post meta field that is deserialized when the post is rendered, allowing them to perform PHP Object Injection, which can lead to remote code execution when a suitable gadget chain is present via another installed EWWW Image Optimizer WordPress plugin before 8.8.0 or .

Threat Intelligence Overview

EPSS Score
0.4%
Top 74% exploitable
Prevalence
High
EWWW Image Optimizer is a very widely deployed WordPress plugin (1M+ installs)
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Total

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy