CVE-2023-6063: Unauthenticated SQL Injection in WP Fastest Cache <1.2.2
- Vendor
- Wpfastestcache
A critical unauthenticated SQL injection vulnerability exists in the WP Fastest Cache WordPress plugin prior to version 1.2.2. The vulnerability arises from improper sanitization and escaping of the $username variable in the is_user_admin function of the WpFastestCacheCreateCache class. This variable, extracted from cookies, is used directly in an SQL query before input sanitization occurs, allowing attackers to inject arbitrary SQL. The flaw is exploitable via time-based blind SQL injection techniques, enabling attackers to read the full contents of the WordPress database without authentication.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthenticated attackers to extract the entire contents of the WordPress database using time-based blind SQL injection. This can lead to exposure of sensitive information, including user credentials, configuration data, and potentially compromise the entire WordPress installation. The attack does not require authentication, significantly increasing the risk and attack surface.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable or remove the WP Fastest Cache plugin until it can be updated. Restrict access to the WordPress site where feasible, and monitor for suspicious activity. Employ a web application firewall (WAF) with SQL injection detection capabilities as an additional layer of defense.
Remediation
Patch, then assume compromise.
Upgrade WP Fastest Cache to version 1.2.2 or later, which addresses the vulnerability by properly sanitizing and escaping user-supplied input before it is used in SQL queries.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-6063 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-6063 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-6063?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-6063, the earliest disclosed Apr 10, 2025.
- Is there a patch for CVE-2023-6063?
- Upgrade WP Fastest Cache to version 1.2.2 or later, which addresses the vulnerability by properly sanitizing and escaping user-supplied input before it is used in SQL queries.
- What products are affected by CVE-2023-6063?
- Wpfastestcache Wp Fastest Cache.
- How severe is CVE-2023-6063?
- CVE-2023-6063 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 74.8% (100th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.