CVE-2026-110702: EWWW Image Optimizer (WordPress plugin) Cross-site Scripting
Published 2026-11-26 · Updated 2026-12-01 · Source security@wordfence.com
Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.
What to do
- Check the references below for the vendor's patched release of EWWW Image Optimizer (WordPress plugin) and apply it.
- Until it is patched, do not leave EWWW Image Optimizer (WordPress plugin) reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply a restrictive Content-Security-Policy and mark session cookies HttpOnly to limit what an injected script can do.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality and integrity are rated low. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness: Cross-site Scripting
An attacker can make script run in another user's browser in the context of the affected site, allowing session theft or actions taken as that user.
Classified as CWE-79.
Description
The EWWW Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 8.9.0 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. WordPress core comment kses permits the payload's tag and attribute structure unchanged at save time, meaning the malicious content bypasses save-time sanitization and is only activated when the plugin's output-buffer filter processes the page on render.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/0466b9ee-ce9b-4592-8681-3c009bf0094b?source=cve
- Referencehttps://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/classes/class-lazy-load.php#L1018
- Referencehttps://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/classes/class-lazy-load.php#L595
- Referencehttps://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/classes/class-page-parser.php#L447
- Referencehttps://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/common.php#L266
- Referencehttps://plugins.trac.wordpress.org/changeset?reponame=&old=3774127%40ewww-image-optimizer&new=3774127%40ewww-image-optimizer