All vulnerabilities

WordPress plugins

CVE-2026-132618

Optimole <= 4.2.20 - Unauthenticated Stored Cross-Site Scripting via Comment Content

Severity
Medium 5.4
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Exploit chance
0.4% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

Description

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.20 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. Successful exploitation requires that iframe lazy-loading is enabled (the default on new Optimole-connected installs), that the target post contains at least one iframe with fallback text, and that the attacker has had at least one prior comment approved so WordPress's default "Comment author must have a previously approved comment" setting auto-approves subsequent malicious comments.

From the CVE Program.

Affected software

SoftwareAffected versions
Optimole WP (WordPress plugin)WordPress plugins · wp-plugin:optimole-wp
  • Every version up to 4.2.20

About Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization

Automatically optimize images with bulk compression, lazy loading, WebP/AVIF conversion & CloudFront image CDN. Boost Core Web Vitals & conversions.

From its WordPress.org page.
Active installations
200,000+WordPress.org, 29 Nov 2026
Latest version
4.2.21WordPress.org, 29 Nov 2026
Last updated
25 Nov 2026WordPress.org
Rating
4.7 out of 5 (642 ratings)WordPress.org, 29 Nov 2026
Requires WordPress
5.5WordPress.org
Requires PHP
7.4WordPress.org
Tested up to WordPress
7.1.5WordPress.org
Author
OptimoleWordPress.org
In the directory since
23 Sept 2018WordPress.org

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-132618