CVE-2026-119609: Smush <= 4.3.6 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Lazy Load Attribute Parser
The Smush – Image Optimization, Compression, Lazy Load, WebP & CDN plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.3.6 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. Successful exploitation requires the Smush Lazy Load module to be enabled (on by default after activation), comments to be open on at least one post, and the crafted comment to be approved — either via WordPress's auto-approval for previously-approved commenters or by a moderator.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
The Smush Lazy Load module must be enabled, comments must be open on at least one post, and the attacker’s crafted comment must be approved. Approval can occur through WordPress auto-approval for a previously approved commenter or through moderator approval.
Are newly activated installations affected by default?
Yes, if the affected Smush version is installed. The Lazy Load module is enabled by default after activation, though exploitation also requires an open comment section and approval of the malicious comment.
Who can exploit this issue?
An attacker does not need to authenticate to submit the malicious comment. However, the payload will execute only when a user visits a page containing the approved injected comment.
How can I determine whether a site may already be affected?
Review approved comments on posts with comments enabled for suspicious crafted content, particularly comments from accounts or commenters that may receive automatic approval. Also verify whether Smush Lazy Load is enabled and whether the installed version is 4.3.6 or earlier.