Technical impact
The vulnerability allows an unauthenticated attacker to store malicious scripts within the comment field of any post or page on a WordPress site that uses the Optimole plugin. The stored payload bypasses the platform's normal sanitization because it contains no visible HTML tags at insertion time; the characters are produced later by Optimole's own decoder during rendering. Consequently, every user who views the affected page will execute the injected script, giving the attacker the ability to steal session cookies, deface content, or redirect victims.
Affected Systems
Any website that uses the Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization WordPress plugin in versions 4.2.17 or earlier.
Risk and Exploitability
The CVSS score of 7.2 classifies the vulnerability as high. The EPSS score is not available, and it is not listed in the CISA KEV catalog, indicating no confirmed exploitation in the public domain to date. The attack is carried out entirely from the outside, requiring only a crafted comment submission. The plugin must be in its normal connected state – both cdn_key and cdn_secret configured – and the image replacer feature must be enabled, which is the default after setup. Once the comment is stored, any visitor who loads the page will trigger the decoder, causing the script to run.