🔐 CVE Alert

CVE-2026-120486

MEDIUM 5.4

ShortPixel Image Optimizer <= 6.6.1 - Unauthenticated Stored Cross-Site Scripting via Comment Content via CDN URL Rewriter

CVSS Score
5.4
EPSS Score
0.4%
EPSS Percentile
34th

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 <acronym title="...">, 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.

CWE CWE-79
Vendor shortpixel
Product shortpixel image optimizer – optimize images, convert webp & avif
Published Nov 21, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for shortpixel shortpixel image optimizer – optimize images, convert webp & avif

Be the first to know when new medium vulnerabilities affecting shortpixel shortpixel image optimizer – optimize images, convert webp & avif are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

shortpixel / ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
0 ≤ 6.6.1

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/f3c94064-3b2f-400e-8dc3-c78029e50142?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L1002 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L752 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L508 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/Front/CDNController.php#L104 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.6.1/class/Controller/FrontController.php#L38 github.com: https://github.com/short-pixel-optimizer/shortpixel-image-optimiser/releases/tag/v6.6.2

Credits

theviper17y