Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-125094 — Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization

High · CVSS 7.2EPSS 0.4% First seen November 20, 2026
PHPWordPressWebVulnerabilities

Research article

Optimole Plugin Vulnerable to Stored XSS via Comment Parameter

CVECVE-2026-125094
Vendor and productOptimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
PublishedNovember 23, 2026 20:20 UTC
Research cut-offNovember 23, 2026 19:25 UTC
Sources reviewed3: 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

FieldValue
CVE IDCVE-2026-125094
VendorOptimole – Optimize Images
CWECWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))
CVSS 3.17.2 HIGH, scored by security@wordfence.com [1]
Published2026-11-20T12:18:21
Last Modified2026-11-20T14:17:44
Record StatusDeferred

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

ProductAffected VersionFixed Version
Optimole – Optimize ImagesConvert WebP & AVIFCDN & 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

  1. Check if the installed version of the Optimole plugin is ≤ 4.2.19 [1].
  2. The reviewed sources do not list a fixed version for this CVE.
  3. 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

  1. 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. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status
  3. 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. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.2 CVSS 3.1 base score from the CNA (wordfence.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization≤ 4.2.19—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

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