WordPress · Autoptimize · CVE-2022-2635
**Name of the Vulnerable Software and Affected Versions**
Autoptimize WordPress plugin versions prior to 3.1.1
**Description**
The issue allows high privilege users, such as admins, to perform Stored Cross-Site Scripting attacks, even when the unfiltered html capability is disallowed, for example, in a multisite setup. This is due to the plugin not sanitizing and escaping some of its settings.
**Recommendations**
For versions prior to 3.1.1, update to version 3.1.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the plugin's settings for high privilege users to minimize the risk of exploitation.