AI, Development & Tech News

Update for the WordPress image plugin EWWW: Malicious code could be injected via comments

261128 ewww image optimizer security vulnerability update cover image
Skip to table of contents
Contents 5 sections
  1. How does the attack via comments work?
  2. Is your website affected?
  3. Which version closes both vulnerabilities?
  4. What this means for you
  5. Sources

The WordPress plugin EWWW Image Optimizer, which compresses images and has more than 1 million active installations, had a serious security vulnerability up to and including version 8.9.0. According to the security company Wordfence, a visitor without logging in can leave script code in a comment that later runs in other people's browsers. The prerequisite is that the Lazy Load feature, which loads images only when scrolling, is switched on.

A free update fixes the problem, ideally straight to version 8.9.2 from November 10: A second vulnerability, which the security provider Patchstack lists in its database, also affects version 8.9.1.

How does the attack via comments work?

The usual WordPress comment filter lets the crafted input pass through unchanged when saving. The input only becomes dangerous when the plugin restructures the finished page before delivery. The script then runs for everyone who opens this page.

According to the Wordfence entry with the identifier CVE-2026-110702, the flaw lies in this feature, more precisely in the rewriting of information about background images. Wordfence rates the severity at 7.2 out of 10 points.

Is your website affected?

The source code of version 8.9.0 only includes the file for Lazy Load as long as the option of the same name is switched on. It can be active even if you never consciously chose it. The setup wizard namely suggests the feature with the checkbox ticked, unless it detects another plugin that loads images with a delay.

In its entry on CVE-2026-124254, Patchstack names no setting that must be switched on for the second vulnerability. Here too, the attacker needs no account. For the attack to succeed, however, a person with higher privileges must do something themselves, such as clicking on a crafted link. Patchstack assigns 7.1 points.

Neither Wordfence nor Patchstack reports ongoing attacks, and both identifiers are missing from the US agency CISA's catalog of exploited vulnerabilities (as of November 28).

Which version closes both vulnerabilities?

Only version 8.9.2 is affected by neither of the two vulnerabilities. Wordfence does list 8.9.1 from October 29 as a corrected version, but according to Patchstack the second vulnerability is only closed as of 8.9.2. In the changelog, both versions list an improved evaluation of HTML attributes; CVE identifiers are missing there.

Which EWWW version are you running?
Affected versions according to Wordfence and Patchstack, as of November 28, 2026
Which version does your plugin list show?
  • 8.9.0 or olderBoth entries apply to your version, update now
  • 8.9.1The second vulnerability is still open, update
  • 8.9.2Both named vulnerabilities are closed
The comment attack starts at the Lazy Load feature
Sources: Wordfence, Patchstack

According to the version statistics of WordPress.org, on November 28 only around 47 percent of installations were running a version whose number begins with 8.9. All the others are older and thus affected according to both entries.

What this means for you

Ideally, open the "Plugins" page today and compare the version number. If it is below 8.9.2, install the update and then clear the cache so that no old copy of the page stays online. At least WordPress 6.8 and PHP 7.4 are required.

If the update isn't possible right away, temporarily switch off "Lazy Load" under "Settings" and "EWWW Image Optimizer" in the "Essential" tab. The plugin then no longer includes the file where the attack via comments starts. This step does not replace the update, because whether it also helps against the second vulnerability is unclear.

With "Enable automatic updates", future fixes arrive on their own. How to maintain extensions in the long term is shown in our lesson on updating themes and plugins. While you're at it, check your PHP version, because from EWWW 9.0.0 onward, PHP versions below 8.2 are no longer supposed to be supported.

Wordfence published the entry on the attack via comments on November 25, 2026.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →