CVE-2026-110702
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.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Exactly WWW | EWWW Image Optimizer | Version 0 ≤8.9.0 |
| Nosilver4u | EWWW Image Optimizer | through 8.9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0466b9ee-ce9b-4592-8681-3c009bf0094b?source=cve
- https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/classes/class-page-parser.php#L447
- https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/classes/class-lazy-load.php#L1018
- https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/classes/class-lazy-load.php#L595
- https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.9.0/common.php#L266
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3774127%40ewww-image-optimizer&new=3774127%40ewww-image-optimizer
- https://github.com/advisories/GHSA-22vc-xhx6-33xr
- https://nvd.nist.gov/vuln/detail/CVE-2026-110702