Description
WordPress Plugin ShortPixel Adaptive Images-WebP, AVIF, CDN, Image Optimization is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin ShortPixel Adaptive Images-WebP, AVIF, CDN, Image Optimization version 3.6.2 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 3.6.3 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:B027A8DB-0FD6-444D-B14A-0AE58F04F931
https://plugins.svn.wordpress.org/shortpixel-adaptive-images/trunk/readme.txt
Related Vulnerabilities
WordPress Plugin WP Favorite Posts Cross-Site Scripting (1.6.5)
phpBB CVE-2010-1630 Vulnerability (CVE-2010-1630)
Oracle HTTP Server Exposure of Resource to Wrong Sphere Vulnerability (CVE-2022-25236)
OpenSSL Access of Resource Using Incompatible Type ('Type Confusion') Vulnerability (CVE-2023-0286)