CVE-2025-6626: ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization <= 3.10.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via API URL

Published Aug 2, 2025
·
Updated

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

1 affected component
ShortPixel Adaptive Images<=3.10.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade wordpress/shortpixel-adaptive-images-webp-avif-cdn-image-optimization to a version that resolves this vulnerability.

    Fixed in 3.10.4
  2. 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

Aug 2, 2025
CVE Published
via MITRE·07:24 AM
Data Sourced
via MITRE·07:24 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Which WordPress plugin is affected by CVE-2025-6626?

CVE-2025-6626 affects the ShortPixel Adaptive Images plugin for WordPress.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203