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 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
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 unfiltered_html has been disabled.

Analysis

AI-generated

Technical impact

The ShortPixel Adaptive Images plugin for WordPress has a flaw in the API URL setting, where input sanitization and output escaping are insufficient. Administrators can inject arbitrary scripts that the plugin stores; when any visitor loads a page that uses the affected setting, the script executes, resulting in stored XSS. Normal users cannot inject without administrator privileges.

Affected Systems

WordPress sites that run the ShortPixel Adaptive Images plugin version 3.10.3 or earlier on a multisite network and where the unfiltered_html capability has been disabled. The 3.10.4 release is not vulnerable and includes the necessary fixes.

Risk and Exploitability

This vulnerability has a CVSS score of 4.4 and an EPSS score below 1 %. It is not listed in the CISA KEV catalog. An attacker who has administrator access would need to exploit the stored XSS to deface pages, harvest credentials, or deploy additional payloads. Because the flaw only exists on multisite installs with unfiltered_html disabled, the attack surface is restricted, and exploitation chance remains low.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the ShortPixel Adaptive Images plugin to version 3.10.4 where the API URL input is properly sanitized and escaped.
  • If the upgrade is not immediately possible, clear or disable the API URL setting in the plugin configuration to prevent script injection until a patch is applied.
  • Limit the unfiltered_html capability to only trusted administrators and remove it from other accounts to enforce standard HTML filtering.
  • Deploy a Web Application Firewall or implement a Content Security Policy that blocks or sanitizes user‑supplied scripts on rendered pages.

Generated by OpenCVE AI on April 22, 2026 at 00:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23425 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 unfiltered_html has been disabled.
History
Type Values Removed Values Added
First Time appeared Shortpixel
Shortpixel shortpixel Adaptive Images
Wordpress
Wordpress wordpress
Vendors & Products Shortpixel
Shortpixel shortpixel Adaptive Images
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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 unfiltered_html has been disabled.
Title ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization <= 3.10.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via API URL
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:53 PM
Reserved
Jun 25, 2025, 10:26 AM
Status
Deferred
Published
Aug 2, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:02 AM