CVE-2026-91049: EWWW Image Optimizer cross-site scripting (XSS) vulnerability
published 2026-11-05 · updated 2026-11-06
- Affected versions
- 8.7.4 up to (not including) 8.9.1
- Fixed in
- 8.9.1
- Latest version
- 8.9.2
- Active installs
- 1+ million
- Type
- Cross-site scripting (XSS)
What to do now
- Update EWWW Image Optimizer to 8.9.1 or newer (the latest is 8.9.2): 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.
- Not sure which version you run? Check your version against every known EWWW Image Optimizer issue.
With WP-CLI:
wp plugin get ewww-image-optimizer --field=version. - If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.
Is your site exposed to CVE-2026-91049?
- Are you on an affected version? Compare your EWWW Image Optimizer version with every known issue on record. Check my version
- Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
- Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works
What an attacker needs
- Access: A logged-in account with Author-level access or higher.
- Interaction: It also needs someone on the site (often an admin) to click a link, open a page or submit a form the attacker prepared.
Technical details
Weakness
Cross-site scripting (XSS) CWE-79
Attacker-controlled text reaches a page without being made safe, so the browser runs it as script.
The script acts in the session of whoever views the page, which matters most when that is an administrator.
General description of this issue type. The advisory below covers this bug.
CVSS 3.1 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- High
- Privileges required
- High
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
CVSS vector (scored by CISA ADP): CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
The advisory
The EWWW Image Optimizer WordPress plugin before 8.9.1 does not properly sanitize and restrict a value in post content before using it to dynamically load and execute a script in the page, allowing authenticated attackers with author-level access and above to inject arbitrary web scripts that run in the session of any user who views the affected page, including administrators. This is an incomplete fix of CVE-2026-15446: the origin and path restrictions added from 8.7.4 onward were each bypassable, so versions 8.7.4 through 8.9.0 remain affected.
References
- NVD CVE-2026-91049 nvd.nist.gov
- WPScan advisory wpscan.com
How Laskyr cleans up a site hacked through EWWW Image Optimizer
We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.
Related
Ran an affected version? Run the free scan for signs of a hack.
Where this data comes from
- CVE record, score and references: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Versions and install counts: wordpress.org/plugins/ewww-image-optimizer (Plugins API), fetched 2026-11-29.
- Everything outside the quoted description is our plain-English reading of the record and the plugin's release history. The CWE is the standard one for this issue type. Spot an error? Email Daniel.