WordPress plugins
CVE-2026-120486
ShortPixel Image Optimizer <= 6.6.1 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter
- Severity
- Medium 5.4
- Published
- 21 Nov 2026
- Last changed
- 21 Nov 2026
- Added to UpHeron
- 21 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N- Sources
- CVE Program
Description
The ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 6.6.1 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. Exploitation requires the administrator to have enabled the 'Deliver WebP/AVIF images using the ShortPixel CDN' (useCDN) option, after which any unauthenticated visitor can submit a comment containing a crafted url() payload inside an allowed HTML construct such as , which WordPress comment kses preserves on save; the dangerous attribute-boundary breakout occurs only at render time inside the ob_start output-buffer rewriter, where kses does not apply.
Affected software
| Software | Affected versions |
|---|---|
Shortpixel Image Optimiser (WordPress plugin)WordPress plugins · wp-plugin:shortpixel-image-optimiser |
|
About ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
Compress images & PDFs automatically, convert to WebP & AVIF, and generate SEO-friendly filenames with AI. Bulk optimization, smart crop & resize.
- Active installations
- 300,000+WordPress.org, 16 Nov 2026
- Latest version
- 6.6.1WordPress.org, 16 Nov 2026
- Last updated
- 14 Oct 2026WordPress.org
- Rating
- 4.5 out of 5 (831 ratings)WordPress.org, 16 Nov 2026
- Requires WordPress
- 5.9.0WordPress.org
- Requires PHP
- 7.4WordPress.org
- Tested up to WordPress
- 7.1.4WordPress.org
- Author
- ShortPixelWordPress.org
- In the directory since
- 5 Nov 2014WordPress.org
Vulnerabilities in ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-105074WordPress ShortPixel Image Optimizer plugin <= 6.6.1 - Cross Site Request Forgery (CSRF) vulnerabilityHigh 7.1 20 Nov 2026
- CVE-2026-103070WordPress ShortPixel Image Optimizer plugin <= 6.5.6 - Cross Site Scripting (XSS) vulnerabilityMedium 6.5 8 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120486