Stored Cross-Site Scripting Vulnerability in ShortPixel Image Optimizer Plugin for WordPress
CVE-2026-120486
5.4MEDIUM
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 21 November 2026
What is CVE-2026-120486?
The ShortPixel Image Optimizer plugin for WordPress is susceptible to a stored cross-site scripting vulnerability through the 'comment' parameter due to inadequate input sanitization and output escaping. Unauthenticated attackers can inject malicious web scripts into pages that execute when other users access the modified page. This vulnerability necessitates that the administrator activates the 'Deliver WebP/AVIF images using the ShortPixel CDN' feature. Once enabled, attackers can submit crafted comments that bypass security measures and execute harmful scripts at render time, leading to compromised user experience and potential data exposure.
Affected Version(s)
ShortPixel Image Optimizer β Optimize Images, Convert WebP & AVIF 0 <= 6.6.1