CVE-2026-125094 — Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
Research article
Optimole Plugin Vulnerable to Stored XSS via Comment Parameter
| CVE | CVE-2026-125094 |
|---|---|
| Vendor and product | Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization |
| Published | November 23, 2026 20:20 UTC |
| Research cut-off | November 23, 2026 19:25 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-20); CISA KEV catalog; FIRST EPSS (2026-11-22) |
Executive summary
The Optimole plugin for WordPress has a Stored Cross-Site Scripting (XSS) flaw because of inadequate sanitization of inputs and lack of proper escaping of outputs in all versions up to 4.2.19 [1]. The CVSS 3.1 score is 7.2, HIGH, with a vector of AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, scored by security@wordfence.com [1]. The reviewed sources do not report exploitation [2]. The reviewed sources do not list a fixed version for this CVE.
Key points
- The Optimole plugin for WordPress is at risk of a Stored Cross-Site Scripting (XSS) issue caused by poor input sanitization and improper output escaping in all versions up to 4.2.19 [1].
- The CVSS 3.1 score is 7.2, HIGH, with a vector of AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, scored by security@wordfence.com [1].
- The AMP plugin must be running in Transitional or Standard template mode for this flaw to be exploited, and the targeted post should have comments activated, which is the standard setting in WordPress [1].
- The reviewed sources do not report exploitation [2].
- The EPSS score for this CVE is 0.0053 (0.53%), indicating a low estimated probability of exploitation within the next 30 days [3].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-125094 |
| Vendor | Optimole – Optimize Images |
| CWE | CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) |
| CVSS 3.1 | 7.2 HIGH, scored by security@wordfence.com [1] |
| Published | 2026-11-20T12:18:21 |
| Last Modified | 2026-11-20T14:17:44 |
| Record Status | Deferred |
Vulnerability description
A Stored Cross-Site Scripting (XSS) flaw exists in the Optimole plugin for WordPress due to inadequate input sanitization and output escaping. This allows unauthenticated attackers to inject arbitrary web scripts into pages, which can execute when a user accesses an affected page [1]. This flaw can only be exploited if the AMP plugin is running in Transitional or Standard template mode and the target post allows comments, which is the standard setup in WordPress [1].
Attack surface and exploitation prerequisites
To carry out this attack, the AMP plugin must be operating in Transitional or Standard template mode, and the target post must have comments enabled, which is the default configuration in WordPress [1]. According to the CVSS vector, the vulnerability has network access (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and impacts confidentiality (C:L), integrity (I:L), and availability (A:N) [1].
Impact analysis
The CVSS vector indicates that the vulnerability may impact confidentiality (C:L), integrity (I:L), and availability (A:N) [1]. According to the official report, attackers who are not authenticated can insert any web scripts into pages, which will run when a user views an affected page [1].
Affected products and versions
| Product | Affected Version | Fixed Version |
|---|---|---|
| Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load |
Exploitation and threat intelligence status
CVE-2026-125094 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-23 [2]. The EPSS score for this CVE is 0.0053 (0.53%) with a percentile of 0.4578, indicating a low estimated probability of exploitation within the next 30 days [3].
Detection and exposure assessment
To determine exposure, check if the installed version of the Optimole plugin is ≤ 4.2.19 [1]. No detection steps are provided by the reviewed sources.
Remediation
The reviewed sources do not list a fixed version for this CVE. No mitigation steps are provided by the sources. The reviewed sources do not list a fixed version or give update advice for this CVE.
Remediation checklist
- Check if the installed version of the Optimole plugin is ≤ 4.2.19 [1].
- The reviewed sources do not list a fixed version for this CVE.
- General defensive guidance, not from the sources: consider whether the AMP plugin's Transitional or Standard template mode is needed on sites running this plugin.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not explain the root cause of the vulnerability beyond the CWE name.
- The sources do not describe the technical mechanics of how the flaw works.
- The sources do not provide indicators of compromise.
- The sources do not mention a workaround.
References
- CVE-2026-125094 record. NIST National Vulnerability Database (NVD), 2026-11-20. https://nvd.nist.gov/vuln/detail/CVE-2026-125094. Accessed 2026-11-23.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-23. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-23.
- EPSS score for CVE-2026-125094. FIRST, 2026-11-22. https://api.first.org/data/v1/epss?cve=CVE-2026-125094. Accessed 2026-11-23.
Summary
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.2.19 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the AMP plugin to be active in Transitional or Standard template mode, and comments must be open on the target post, which is the WordPress default.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization | ≤ 4.2.19 | — |
References by type
Other references
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/admin.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/manager.…
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/rest.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/v2/BgOpt…
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20
- wordfence.com/threat-intel/vulnerabilities/id/3d017da6-553a-4e6e-8a8c-8…
Affected
- Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
Frequently asked questions
What is CVE-2026-125094?
The Optimole plugin for WordPress has a Stored Cross-Site Scripting (XSS) flaw because of inadequate sanitization of inputs and lack of proper escaping of outputs in all versions up to 4.2.19. The CVSS 3.1 score is 7.2, HIGH, with a vector of AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, scored by security@wordfence.com. The reviewed sources do not report exploitation. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-125094?
CVE-2026-125094 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-125094 being exploited?
Not as far as is known: CVE-2026-125094 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125094?
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization ≤ 4.2.19.
How do I fix CVE-2026-125094?
Check if the installed version of the Optimole plugin is ≤ 4.2.19. The reviewed sources do not list a fixed version for this CVE. General defensive guidance, not from the sources: consider whether the AMP plugin's Transitional or Standard template mode is needed on sites running this plugin.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-134955 — tychesoftwares Product Input Fields for WooCommerce
- CVE-2026-97345 — SumUp Payment Gateway For WooCommerce
- CVE-2026-85412 — hassantafreshi Easy Form Builder by WhiteStudio – Drag & Drop Form Builder
- CVE-2026-85416 — yonifre Lenix Leads Collector
- CVE-2026-92251 — zarinpal افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce)