Description
WordPress Plugin Autoptimize 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 Autoptimize version 3.1.0 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 3.1.1 or latest
References
https://wpscan.com/vulnerability/219767a8-2427-42d5-8734-bd197d9ab46b
https://plugins.svn.wordpress.org/autoptimize/trunk/readme.txt
Related Vulnerabilities
Drupal Core 4.6.x Arbitrary Code Execution (4.6.0 - 4.6.7)
Jboss EAP Deserialization of Untrusted Data Vulnerability (CVE-2019-14892)
Apache Traffic Server Improper Input Validation Vulnerability (CVE-2017-7671)
Jboss EAP Permissions, Privileges, and Access Controls Vulnerability (CVE-2012-4549)
WordPress Plugin ImageLinks Interactive Image Builder for WordPress Cross-Site Scripting (1.5.2)