CVE-2026-110702: EWWW Image Optimizer <= 8.9.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Lazy Load '--background' Attribute Rewriter
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.
Affected Software
Event History
Frequently Asked Questions
Which installations should be assessed first?
Assess WordPress sites running EWWW Image Optimizer version 8.9.0 or earlier, particularly where visitor comments can be displayed on pages processed by the plugin's lazy-load output filter.
Does exploitation require an authenticated WordPress account?
No. An attacker can use the comment parameter without authentication to submit malicious content that is later rendered to users visiting the affected page.
Why might normal WordPress comment sanitization not prevent this?
WordPress core comment kses permits the relevant tag and attribute structure to remain when the comment is saved. The malicious content is activated later when the plugin processes the page during rendering.