CVE-2026-120486: ShortPixel Image Optimizer (WordPress plugin) · Cross-site Scripting
Affects ShortPixel Image Optimizer (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 5.4 Medium.
Data as of 21 Nov 2026, 08:13 UTC
Thin evidence
One scorer or none| CNA (Wordfence) | CVSS 3.1 | 5.4 |
|---|
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| shortpixelShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF | Affected
| Fixed in– |
AI-suggested
Users should disable the 'Deliver WebP/AVIF images using the ShortPixel CDN' option to prevent exploitation. Monitor vendor advisories for updates or patches addressing this vulnerability. Avoid allowing untrusted users to submit comments or implement additional filtering on comment inputs as a temporary mitigation.
Description
ShortPixel Image Optimizer WordPress plugin versions up to 6.6.1 are vulnerable to stored cross-site scripting (XSS) via the 'comment' parameter. This vulnerability arises when the 'Deliver WebP/AVIF images using the ShortPixel CDN' option is enabled, allowing unauthenticated attackers to inject malicious scripts in comments that execute when viewed. The flaw is due to insufficient input sanitization and output escaping, specifically in how WordPress comment kses filtering interacts with the plugin's output buffering.
References
- wordfence.com/threat-intel/vulnerabilities/id/f3c94064-3b2f-400e-8dc3-c78029e50142?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/FrontController.php (opens in a new tab)
- github.com/short-pixel-optimizer/shortpixel-image-optimiser/releases/tag/v6.6.2 (opens in a new tab)