Plugins · optimole-wp · data as of 2026-11-04
Is Optimole safe? Known vulnerabilities and latest version
- Latest version
- 4.2.18
- Last updated
- 2026-11-02
- Active installs
- 200,000+
- Known issues on record
- 8
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 7.4+
Automatically optimize images with bulk compression, lazy loading, WebP/AVIF conversion & CloudFront image CDN. Boost Core Web Vitals & conversions. — by Optimole
What to do
- Update to the latest version (4.2.18). Anything older than 4.2.15 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get optimole-wp --field=version shows what you run; wp plugin update optimole-wp updates it.
Check your version
Known vulnerabilities
8 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
medium 6.5 CVE-2026-102375 · published 2026-09-30
Missing authorization check in Optimole (4.2.14 and older)
- Affected
- 4.2.14 and older
- Fixed in
- 4.2.15
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Missing Authorization vulnerability in Optimole Optimole optimole-wp allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Optimole: from n/a through 4.2.14.
high 7.2 CVE-2026-77365 · published 2026-08-28
Stored cross-site scripting (XSS) in Optimole (4.2.10 and older)
- Affected
- 4.2.10 and older
- Fixed in
- 4.2.11 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'a' (above_fold_images) parameter in all versions up to, and including, 4.2.10 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.
NVD CVE-2026-77365Wordfence advisoryCode change (fix)Plugin source
high 7.1 CVE-2026-57673 · published 2026-07-02
Cross-site scripting (XSS) in Optimole (4.2.7 and older)
- Affected
- 4.2.7 and older
- Fixed in
- 4.2.8
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Unauthenticated Cross Site Scripting (XSS) in Optimole <= 4.2.7 versions.
medium 4.3 CVE-2026-11784 · published 2026-06-18
Cross-site request forgery (CSRF) in Optimole (4.2.6 and older)
- Affected
- 4.2.6 and older
- Fixed in
- 4.2.7 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.2.6. This is due to missing or incorrect nonce validation on the replace_file function. This makes it possible for unauthenticated attackers to overwrite existing media attachments with attacker-supplied file content by supplying a forged multipart POST request targeting any attachment the victim has edit_post capability over via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. The forged request requires a victim with at least Author-level privileges, as the handler enforces a current_user_can('edit_post', $id) check; tricking an Author-level or higher user into clicking a crafted link is sufficient to trigger the overwrite against attachments that user can edit.
NVD CVE-2026-11784Wordfence advisoryCode change (fix)Plugin source
medium 6.1 CVE-2026-5226 · published 2026-04-11
Reflected cross-site scripting (XSS) in Optimole (4.2.3 and older)
- Affected
- 4.2.3 and older
- Fixed in
- 4.2.4 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Optimole – Optimize Images in Real Time plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URL paths in versions up to, and including, 4.2.3 This is due to insufficient output escaping on user-supplied URL paths in the get_current_url() function, which are inserted into JavaScript code via str_replace() without proper JavaScript context escaping in the replace_content() function. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
NVD CVE-2026-5226Wordfence advisoryCode change (fix)Plugin source
high 7.2 CVE-2026-5217 · published 2026-04-11
Stored cross-site scripting (XSS) in Optimole (4.2.2 and older)
- Affected
- 4.2.2 and older
- Fixed in
- 4.2.3 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.2.2. This is due to insufficient input sanitization and output escaping on the user-supplied 's' parameter (srcset descriptor) in the unauthenticated /wp-json/optimole/v1/optimizations REST endpoint. The endpoint validates requests using an HMAC signature and timestamp, but these values are exposed directly in the frontend HTML making them accessible to any visitor. The plugin uses sanitize_text_field() on the descriptor value of rest.php, which strips HTML tags but does not escape double quotes. The poisoned descriptor is then stored via transients (backed by the WordPress options table) and later retrieved and injected verbatim into the srcset attribute of tag_replacer.php without proper escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that will execute whenever a user accesses the injected page.
medium 4.3 CVE-2025-11519 · published 2025-10-18
Missing authorization check in Optimole (4.1.0 and older)
- Affected
- 4.1.0 and older
- Fixed in
- 4.1.1 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.1.0 via the /wp-json/optml/v1/move_image REST API endpoint due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Author-level access and above, to offload media that doesn't belong to them.
NVD CVE-2025-11519Wordfence advisoryCode change (fix)research.cleantalk.org
medium 6.4 CVE-2024-4636 · published 2024-05-15
Stored cross-site scripting (XSS) in Optimole (3.12.10 and older)
- Affected
- 3.12.10 and older
- Fixed in
- 3.13.0 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Image Optimization by Optimole – Lazy Load, CDN, Convert WebP & AVIF plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘allow_meme_types’ function in versions up to, and including, 3.12.10 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
NVD CVE-2024-4636Wordfence advisoryCode change (fix)Plugin source
Recent activity
- 2026-11-02 — latest release on wordpress.org (4.2.18).
- 2026-09-30 — Missing authorization check disclosed (CVE-2026-102375), fixed in 4.2.15.
- 2026-08-28 — Stored cross-site scripting (XSS) disclosed (CVE-2026-77365), fixed in 4.2.11.
- 2026-07-02 — Cross-site scripting (XSS) disclosed (CVE-2026-57673), fixed in 4.2.8.
Get an email when Optimole has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Optimole (optimole-wp) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Plugins by Optimole (2 tracked)
Types found in this plugin: Cross-site scripting (XSS) (5) · Missing authorization (2) · Cross-site request forgery (CSRF) (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/optimole-wp (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/optimole-wp"><img src="https://laskyr.com/plugins/optimole-wp/badge.svg" alt="Optimole vulnerability status"></a>