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.
Published: 2025-08-02
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via API URL
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Tue, 05 Aug 2025 11:45:00 +0000

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

Mon, 04 Aug 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 02 Aug 2025 07:45:00 +0000

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'}


Subscriptions

Shortpixel Shortpixel Adaptive Images
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:53:43.644Z

Reserved: 2025-06-25T10:26:36.435Z

Link: CVE-2025-6626

cve-icon Vulnrichment

Updated: 2025-08-04T14:12:54.898Z

cve-icon NVD

Status : Deferred

Published: 2025-08-02T08:15:26.457

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-6626

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T01:00:04Z

Weaknesses