Skip to content
Laskyr

Plugins · ewww-image-optimizer · data as of 2026-11-01

Is EWWW Image Optimizer safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (8.9.1)

As of 2026-11-01. 12 issues are on record for older versions; version 8.8.0 or newer fixes all of them that state a fix.

Latest version
8.9.1
Last updated
2026-10-29
Active installs
1+ million
Known issues on record
12
Unpatched in latest
0
Tested up to WP
7.1.4 · PHP 7.4+

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faster Sites and Happy Visitors. — by Shane Bishop

What to do

  1. Update to the latest version (8.9.1). Anything older than 8.8.0 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. 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 ewww-image-optimizer --field=version shows what you run; wp plugin update ewww-image-optimizer updates it.

Check your version

Known vulnerabilities

12 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.1 CVE-2026-92826 · published 2026-10-03

Reflected cross-site scripting (XSS) in EWWW Image Optimizer (8.7.7 and older)

Affected
8.7.7 and older
Fixed in
8.8.0 *
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 EWWW Image Optimizer plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via REQUEST_URI Parameter Key in all versions up to, and including, 8.7.7 due to insufficient input sanitization and output escaping. 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. Successful exploitation requires that the enable_help option is active, as the vulnerable HelpScout Beacon script block is only emitted when that setting is enabled.

NVD CVE-2026-92826Wordfence advisoryCode change (fix)Plugin source

medium 6.5 CVE-2026-97067 · published 2026-09-30

Cross-site scripting (XSS) in EWWW Image Optimizer (8.7.7 and older)

Affected
8.7.7 and older
Fixed in
8.8.0
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); 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

Contributor Cross Site Scripting (XSS) in EWWW Image Optimizer <= 8.7.7 versions.

NVD CVE-2026-97067Patchstack advisory

medium 6.6 CVE-2026-91051 · published 2026-09-30

PHP object injection in EWWW Image Optimizer (8.6.0 up to (not including) 8.8.0)

Affected
8.6.0 up to (not including) 8.8.0
Fixed in
8.8.0
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory

The EWWW Image Optimizer WordPress plugin before 8.8.0 does not prevent authenticated users with author-level permissions from storing a serialized value in a post meta field that is deserialized when the post is rendered, allowing them to perform PHP Object Injection, which can lead to remote code execution when a suitable gadget chain is present via another installed EWWW Image Optimizer WordPress plugin before 8.8.0 or .

NVD CVE-2026-91051WPScan advisory

medium 4.4 CVE-2026-91072 · published 2026-09-30

Security issue in EWWW Image Optimizer (older than 8.8.0)

Affected
older than 8.8.0
Fixed in
8.8.0
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory

The EWWW Image Optimizer WordPress plugin before 8.8.0 does not confine a WebP-derivative file migration routine to the current site's own uploads directory, letting an attacker with Administrator-level access rename or delete existing WebP-derivative image files outside that scope, including, on a multisite network, files belonging to a different site they have no access to.

NVD CVE-2026-91072WPScan advisory

medium 6.8 CVE-2026-91011 · published 2026-09-17

Cross-site scripting (XSS) in EWWW Image Optimizer (older than 8.7.7)

Affected
older than 8.7.7
Fixed in
8.7.7
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory

The EWWW Image Optimizer WordPress plugin before 8.7.7 does not properly escape image attribute values when it rewrites page output, allowing authenticated users with author-level access and above to inject arbitrary JavaScript that is stored in published content and executes in the browser of any user who later views the affected page.

NVD CVE-2026-91011WPScan advisory

high 7.2 CVE-2026-84773 · published 2026-09-03

Cross-site scripting (XSS) in EWWW Image Optimizer (8.7.6 and older)

Affected
8.7.6 and older
Fixed in
8.7.7
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Patchstack
Details from the advisory

Unauthenticated Cross Site Scripting (XSS) in EWWW Image Optimizer <= 8.7.6 versions.

NVD CVE-2026-84773Patchstack advisory

medium 6.4 CVE-2026-15446 · published 2026-08-19

Stored cross-site scripting (XSS) in EWWW Image Optimizer (8.7.3 and older)

Affected
8.7.3 and older
Fixed in
8.7.4 *
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 EWWW Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'data-script' Lazy Load Attribute in Post Content in all versions up to, and including, 8.7.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit is achieved by embedding a crafted img element with class='lazyload' and a data-script attribute pointing to an attacker-controlled URL in post content, which the plugin's bundled lazysizes ls.unveilhooks addon then uses to dynamically create and insert a script element into the DOM at page view time.

NVD CVE-2026-15446Wordfence advisorygithub.comPlugin source

medium 4.3 CVE-2024-31924 · published 2024-04-10

Cross-site request forgery (CSRF) in EWWW Image Optimizer (7.2.3 and older)

Affected
7.2.3 and older
Fixed in
7.3.0
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

Cross-Site Request Forgery (CSRF) vulnerability in nosilver4u EWWW Image Optimizer ewww-image-optimizer.This issue affects EWWW Image Optimizer: from n/a through <= 7.2.3.

NVD CVE-2024-31924Patchstack advisoryPatchstack advisory

high 7.5 CVE-2023-40600 · published 2023-11-30

Information disclosure in EWWW Image Optimizer (7.2.0 and older)

Affected
7.2.0 and older
Fixed in
7.2.1
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Exactly WWW EWWW Image Optimizer. It works only when debug.log is turned on.This issue affects EWWW Image Optimizer: from n/a through 7.2.0.

NVD CVE-2023-40600Patchstack advisory

medium 4.3 CVE-2020-36750 · published 2023-07-12

Cross-site request forgery (CSRF) in EWWW Image Optimizer (5.8.1 and older)

Affected
5.8.1 and older
Fixed in
5.8.2 *
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 EWWW Image Optimizer plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 5.8.1. This is due to missing or incorrect nonce validation on the ewww_ngg_bulk_init() function. This makes it possible for unauthenticated attackers to perform bulk image optimization via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

NVD CVE-2020-36750Wordfence advisoryCode change (fix)blog.nintechnet.comblog.nintechnet.comblog.nintechnet.comblog.nintechnet.com

critical 10.0 CVE-2016-20010 · published 2021-05-05

Security issue in EWWW Image Optimizer (older than 2.8.5)

Affected
older than 2.8.5
Fixed in
2.8.5
Access needed (per CVSS)
No login needed
Range from
advisory text · score by NVD
Details from the advisory

EWWW Image Optimizer before 2.8.5 allows remote command execution because it relies on a protection mechanism involving boolval, which is unavailable before PHP 5.5.

NVD CVE-2016-20010Wordfence advisoryPlugin source

medium 4.3 CVE-2014-6243 · published 2014-10-10

Cross-site scripting (XSS) in EWWW Image Optimizer (older than 2.0.2)

Affected
older than 2.0.2
Fixed in
2.0.2
Range from
advisory text · score by NVD
Details from the advisory

Cross-site scripting (XSS) vulnerability in the EWWW Image Optimizer plugin before 2.0.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the error parameter in the ewww-image-optimizer.php page to wp-admin/options-general.php, which is not properly handled in a pngout error message.

NVD CVE-2014-6243wordpress.orgpacketstormsecurity.comsecurityfocus.comsecurityfocus.comhtbridge.com

Recent activity

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
EWWW Image Optimizer vulnerability status badge
<a href="https://laskyr.com/plugins/ewww-image-optimizer"><img src="https://laskyr.com/plugins/ewww-image-optimizer/badge.svg" alt="EWWW Image Optimizer vulnerability status"></a>

← Check another plugin · Free hacked-site scan

Site hacked? Get help now
Run free scan Fix it now ($499) Send a message

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit