Read the docs

Stored cross-site scripting in ShortPixel Image Optimizer plugin

Priority LOW 24CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

The ShortPixel Image Optimizer plugin for WordPress is affected in all versions up to and including 6.6.1. Insufficient input sanitization and output escaping of the comment parameter (CWE-79) let an unauthenticated attacker store script that runs when a user accesses an affected page. The attack works only when the administrator has enabled the Deliver WebP/AVIF images using the ShortPixel CDN option.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00356 21st percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ShortPixelShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIFup to 6.6.1—No fix listedCNA
  • ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF VendorShortPixel Affected up to 6.6.1 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for ShortPixel Image Optimizer.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-120486
  2. 2026-11-21 Alias added: GHSA-3p8g-9fq8-rf59
  3. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2023-04280 Enable Media Replace < 4.1.3 - Author+ PHP Object Injection CVSS 3.1HIGH 8.8
  • TI-2023-00241 Enable Media Replace < 4.0.2 - Author+ Arbitrary File Upload CVSS 3.1HIGH 8.8
  • TI-2023-00318 ShortPixel Adaptive Images < 3.6.3 - Reflected XSS CVSS 3.1MEDIUM 6.1
  • TI-2026-14215 ShortPixel Image Optimizer <= 6.5.5 - Authenticated (Author+) PHP Object Injection via Nested JSON Post Content CVSS 3.1HIGH 8.8
  • TI-2026-83296 PHP object injection in WordPress Enable Media Replace plugin CVSS 3.1HIGH 8.8
  • TI-2023-15794 WordPress ShortPixel Adaptive Images Plugin <= 3.7.1 is vulnerable to Cross Site Request Forgery (CSRF) CVSS 3.1HIGH 8.8
See all 35 →

Sources