CVE-2025-31788 Overview
CVE-2025-31788 is an information disclosure vulnerability in the Smackcoders AIO Performance Profiler, Monitor, Optimize, Compress & Debug WordPress plugin (all-in-one-performance-accelerator). The plugin writes sensitive runtime data into log files that unauthenticated network actors can retrieve. The flaw is categorized under CWE-532: Insertion of Sensitive Information into Log File and affects versions from an unspecified initial release through 1.3.
Critical Impact
Unauthenticated attackers can retrieve embedded sensitive data from exposed plugin log files, enabling reconnaissance and follow-on attacks against affected WordPress sites.
Affected Products
- Smackcoders AIO Performance Profiler, Monitor, Optimize, Compress & Debug plugin
- WordPress plugin slug: all-in-one-performance-accelerator
- Versions from initial release through 1.3 (inclusive)
Discovery Timeline
- 2025-04-01 - CVE-2025-31788 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-31788
Vulnerability Analysis
The vulnerability sits in the plugin's performance profiling and debugging pipeline. The plugin captures runtime diagnostics and writes them to log files stored within the WordPress installation. Those log files contain sensitive information such as request metadata, internal application state, or configuration values that should not be exposed outside the server.
Because the logs are reachable over the network without authentication, remote actors can request them directly and harvest the embedded data. The Common Vulnerability Scoring System (CVSS) vector reflects a confidentiality-only impact with no required privileges or user interaction. The Exploit Prediction Scoring System (EPSS) probability is approximately 0.47% as of 2026-07-14.
Root Cause
The root cause is improper handling of diagnostic output, tracked as [CWE-532]. The plugin logs data that should be treated as sensitive and stores those logs in a location that is either predictable or web-accessible. There is no access control layer restricting who can read the log files, and no sanitization is applied to strip secrets before writing.
Attack Vector
Exploitation requires only network access to a vulnerable WordPress site. An attacker enumerates plugin log file paths under the standard wp-content/plugins/all-in-one-performance-accelerator/ directory or associated upload paths and issues unauthenticated HTTP GET requests. Retrieved data can seed subsequent attacks including credential reuse, targeted phishing, or exploitation of internal endpoints.
See the Patchstack Vulnerability Analysis for further technical context.
Detection Methods for CVE-2025-31788
Indicators of Compromise
- Unauthenticated HTTP requests targeting files under /wp-content/plugins/all-in-one-performance-accelerator/ with .log, .txt, or similar extensions.
- Repeated 200 OK responses to requests for diagnostic or profiler output files from external IP addresses.
- Web server access logs showing directory enumeration patterns against the plugin path.
Detection Strategies
- Inventory WordPress deployments and identify sites running all-in-one-performance-accelerator version 1.3 or earlier.
- Search web server logs for requests referencing plugin log filenames and flag those returning non-404 status codes.
- Deploy web application firewall rules that alert on direct access attempts to plugin data files outside expected PHP entry points.
Monitoring Recommendations
- Monitor outbound data volume from WordPress hosts for anomalies consistent with log scraping.
- Alert on new files created in plugin directories that match log or profiler naming conventions.
- Track plugin version state across environments and generate alerts when unpatched instances of all-in-one-performance-accelerator remain online.
How to Mitigate CVE-2025-31788
Immediate Actions Required
- Update the all-in-one-performance-accelerator plugin to a version later than 1.3 once the vendor releases a fix.
- Deactivate and remove the plugin if no patched release is available and the profiling functionality is not required.
- Delete existing plugin log files after determining whether their contents have been exposed.
- Rotate any credentials, API tokens, or secrets that may have appeared in the exposed logs.
Patch Information
Refer to the Patchstack Vulnerability Analysis for the current patch status. Apply the fixed version from the official WordPress plugin repository as soon as it becomes available and validate the update in a staging environment before promoting to production.
Workarounds
- Block direct HTTP access to plugin log file extensions at the web server layer using .htaccess or Nginx location rules.
- Move logs outside the web root or restrict their filesystem permissions so the web server cannot serve them.
- Restrict access to the plugin directory by IP allowlist while a patch is pending.
# Apache .htaccess example blocking direct log retrieval
<FilesMatch "\.(log|txt)$">
Require all denied
</FilesMatch>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

