ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization <= 3.11.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image URLs
- ID
- WPSEC-2026-3103
- Plugin
- ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization (shortpixel-adaptive-images)
- Affected
- all versions before 3.12.0
- Remediation
- Update to 3.12.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-13
- Attack surface
- ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization on WPSec AttackSurface
- Fix released
- Published
Description
The ShortPixel Adaptive Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image and background image URLs in all versions up to, and including, 3.11.6 due to insufficient validation and output escaping of URLs that the plugin rewrites into CDN addresses and placeholder attributes. URLs still containing quotes or angle brackets after entity decoding were accepted and written back into the page, allowing them to break out of the attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-3103/
- https://plugins.svn.wordpress.org/shortpixel-adaptive-images/tags/3.12.0/
- https://wordpress.org/plugins/shortpixel-adaptive-images/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS