CVE-2025-6626: ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization <= 3.10.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via API URL
The ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the API URL Setting in all versions up to, and including, 3.10.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfilteredhtml has been disabled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/shortpixel-adaptive-images-webp-avif-cdn-image-optimizationto a version that resolves this vulnerability.Fixed in 3.10.4 - Configuration
Because the issue only affects installations where unfiltered_html has been disabled, review and consider enabling unfiltered_html only if appropriate for your security policy; otherwise ensure compensating access controls are in place for administrator-level users.
WordPress unfiltered_html = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2025-6626?
CVE-2025-6626 is classified as a high severity vulnerability due to the potential for stored cross-site scripting attacks.
How do I fix CVE-2025-6626?
To fix CVE-2025-6626, update the ShortPixel Adaptive Images plugin to version 3.10.4 or later.
What kind of attack is possible with CVE-2025-6626?
CVE-2025-6626 allows attackers to perform stored cross-site scripting, potentially compromising user data.
Which WordPress plugin is affected by CVE-2025-6626?
CVE-2025-6626 affects the ShortPixel Adaptive Images plugin for WordPress.
Which versions of ShortPixel Adaptive Images are vulnerable to CVE-2025-6626?
All versions of ShortPixel Adaptive Images up to and including 3.10.3 are vulnerable to CVE-2025-6626.