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.
Severity (CVSS)
| Base score | 7.2 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nosilver4u | EWWW Image Optimizer | 0 to <=8.9.0 [affected] |
References
- 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
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Nov 2026 08:01 UTC.