Skip to main content

Optimole WordPress Plugin EUVDEUVD-2026-125850

| CVE-2026-124969 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-14 Wordfence GHSA-9367-hx9q-rjcg
7.1
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Post crafted payload in a site comment
  2. Delivery
    Wait for admin to use plugin Rename on an attachment
  3. Exploit
    Trigger flawed path validation via Archive_Tar
  4. Execution
    Delete wp-config.php or other critical file
  5. Impact
    Escalate to remote code execution and site takeover

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

Four concrete conditions must all hold: (1) Optimole plugin at version 4.2.19 or earlier is installed; (2) PEAR's Archive_Tar library is present and loadable on the host - the description notes this is common in official WordPress Docker images and many PHP distributions, but it is NOT universal and limits exploitation where absent; (3) the unauthenticated attacker first stages a malicious payload in a comment; and (4) an administrator subsequently uses the plugin's Rename control on any attachment. The decisive limiting factor is that the attacker cannot trigger the vulnerability alone (UI:R) - required administrator interaction plus the host-dependent Archive_Tar dependency are the two gates that constrain realistic exploitation beyond the unauthenticated/network framing.

Impact

This is a genuine but conditional priority rather than a drop-everything emergency, and the decision signals agree with that reading: vuln.today assigns a 'this_week' priority, CVSS is 7.1 (High), and the flaw is NOT listed in CISA KEV. No EPSS probability was supplied in the input, and no confirmed proof-of-concept is present - the references are a Wordfence advisory and WordPress trac source-code links, not working exploit code - so exploitation status is 'no public exploit identified at time of analysis.' The CVSS vector (AV:N/AC:L/PR:N/UI:R) correctly captures the defining tension: an UNAUTHENTICATED attacker (PR:N) can stage the payload remotely, but UI:R and the description confirm the attacker CANNOT self-trigger - an administrator must subsequently use the plugin's Rename control, and PEAR's Archive_Tar library must be present and loadable. These two preconditions (human admin action plus a host-dependent library) materially lower real-world exploitability below what the 7.1/unauthenticated framing alone suggests. The upside risk is real, however: successful file deletion of wp-config.php or similar escalates from A:H integrity/availability loss to full remote code execution and site takeover. Net: treat as a prioritized patch this week, not an active mass-exploitation event.

Exploit ScenarioDerived

An unauthenticated attacker submits a crafted comment to the WordPress site that stages a malicious payload for the plugin's rename logic. Later, when any administrator uses Optimole's Rename control on an attachment, the flawed path validation in replace_urls_in_value - via the PEAR Archive_Tar library - deletes an attacker-chosen file such as wp-config.php, which can cascade into remote code execution and site takeover. No public exploit code was identified at the time of analysis; only a Wordfence advisory and the vulnerable source are referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 14, 2026

Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers delete server files when they stage a payload in a comment and an administrator later uses the plugin’s Rename control on an attachment; deleting a file such as wp-config.php can lead to remote code execution. The chain is conditional: PEAR’s Archive_Tar must be present and loadable on the host, and the required administrator interaction means the attacker cannot trigger the flaw alone. Optimole 4.2.20 is the fixed release, the issue is not listed in CISA KEV, no public exploit was identified at time of analysis, and vuln.today assigns a this_week priority; the CVE record carries a CVSS score of 7.1 (High).

RemediationAI

Vendor-released patch: 4.2.20. Update the Optimole plugin to 4.2.20 or later; the fixed release is visible in the plugin Trac at https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20, and the Wordfence advisory is at https://www.wordfence.com/threat-intel/vulnerabilities/id/277b9a34-8e0b-496e-b07b-602b25f125d8?source=cve. If the update cannot be applied immediately, reduce exposure by removing PEAR Archive_Tar from the loadable include path where it is not required (side effect: other PHP code that depends on Archive_Tar will break) and by restricting use of the plugin’s Rename control to trusted administrators (side effect: limits legitimate media-management workflows); neither control replaces updating to 4.2.20. Because the described chain also relies on attacker-staged comment content, moderating or disabling comments can interrupt staging, at the cost of losing comment functionality.

Affected VersionsENISA

Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization 0 ≤4.2.19

Affected Packages

euvd optimole_optimize_images_convert_webp_avif_cdn_lazy_load_image_optimization no fix

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 affected code is Optimole’s media/attachment rename path, referenced in attachment_db_renamer.php (lines 319, 415, 548), attachment_rename.php (line 107), and attachment_edit.php (line 311), with the reported deletion primitive in replace_urls_in_value. The supplied CWE is CWE-502 (Deserialization of Untrusted Data), indicating the root-cause class is unsafe handling of untrusted data rather than a simple UI bug; the precondition that PEAR Archive_Tar be present and loadable ties the exploit chain to PHP archive/deserialization behavior on the host. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H: network-reachable, no privileges required, high attack complexity and required administrator interaction, with no confidentiality impact, limited integrity impact, and high availability impact. Triggering the deletion is not a single self-contained request-four conditions must align: vulnerable plugin version, Archive_Tar availability, attacker-staged payload in a comment, and an administrator using Rename on any attachment.

Know when Optimole 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 (Wordfence) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
vuln.today AI 5.9 MEDIUM

Unauthenticated remote staging (PR:N, AV:N) but AC:H because exploitation depends on Archive_Tar being present on the host, plus UI:R for the required admin Rename action; file deletion drives I:L/A:H, C:N.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The Optimole - Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_urls_in_value function in all versions up to, and including, 4.2.19. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Successful exploitation requires PEAR's Archive_Tar library to be present and loadable on the host (common in official WordPress Docker images and many PHP distributions), and an administrator must subsequently use the plugin's Rename control on any attachment after the attacker has staged a malicious payload in a comment. Successful exploitation additionally requires an action by an administrator - the attacker cannot trigger the vulnerability on their own.

Executive ViewAI

Why It Matters

CVE-2026-124969 is a high-severity flaw in the Optimole WordPress plugin (all versions through 4.2.19) that enables unauthenticated attackers to delete arbitrary server files, including wp-config.php, which could lead to remote code execution. The chain is conditional-requiring PEAR's Archive_Tar to be present and an administrator to perform a specific action-but the potential for full site compromise warrants leadership attention due to the plugin's widespread use and the severity of consequences.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular WordPress image-optimization plugin, broad but not universal install base
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

CVE-2026-84829 HIGH POC
8.8 Sep 16

Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack

CVE-2026-96531 MEDIUM POC
6.8 Sep 26

Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use

CVE-2026-96530 MEDIUM POC
6.5 Oct 07

Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service

CVE-2026-120739 HIGH
7.2 Nov 07

Stored cross-site scripting in the Optimole image-optimization plugin for WordPress (all versions up to and including 4.

CVE-2026-77365 HIGH
7.2 Aug 28

Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows

CVE-2026-120677 HIGH
7.2 Nov 07

Stored cross-site scripting in the Optimole WordPress plugin through 4.2.18 lets unauthenticated attackers submit a craf

CVE-2026-119070 HIGH
7.2 Nov 07

Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in

CVE-2026-5217 HIGH
7.2 Apr 11

Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr

CVE-2026-125094 HIGH
7.2 Nov 20

Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in

CVE-2024-27968 HIGH
7.1 Mar 21

Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated

CVE-2026-57673 HIGH
7.1 Jul 02

Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l

CVE-2026-102375 MEDIUM
6.5 Sep 30

Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info

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