SQL Injection Vulnerability in WP Optimizer Plugin for WordPress
CVE-2026-6295

4.9MEDIUM

What is CVE-2026-6295?

The WP Optimizer plugin for WordPress is prone to an SQL Injection vulnerability through the 's' parameter across all versions up to and including 2.5.0. This vulnerability arises from a flaw in the Query::parse_key_compare_field() method, where user-input values can manipulate SQL queries without proper escaping. Authenticated users with administrator privileges can exploit this flaw to inject arbitrary SQL subqueries, leading to potential exposure of sensitive information from the database. Given the lack of adequate security measures in the vulnerable code path, it is crucial for users to update to the latest version and apply all recommended security practices.

Affected Version(s)

WP Optimizer – PageSpeed, Cache, Minify & Core Web Vitals 0 <= 2.5.0

References

CVSS V3.1

Score:
4.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

san6051
.