Autoptimize <= 3.0.4 - Sensitive Information Disclosure

Information Exposure
CVE CVE-2022-4057
CVSS 5.3 (Medium)
Publicly Published December 5, 2022
Last Updated January 19, 2023
Researcher Raad Haddad


The Autoptimize plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 3.0.4 via the 'ao_ccss_export_callback' and 'ao_ccss_import_callback' functions. The settings.json file is not deleted in the import/export callbacks, which could lead to the settings options being leaked. This can allow unauthenticated attackers to extract sensitive data about the plugin's settings.



Vulnerability Details for Autoptimize

Software Type Plugin
Software Slug autoptimize (view on
Patched? Yes
Remediation Update to version 3.1.0, or a newer patched version
Affected Version
  • <= 3.0.4
Patched Version
  • 3.1.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.