Skip to main content

WP Optimizer EUVDEUVD-2026-83544

| CVE-2026-6295 MEDIUM
SQL Injection (CWE-89)
2026-09-19 Wordfence GHSA-cv43-j772-67wp
4.9
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress admin credentials
  2. Delivery
    Submit 's' param matching ^[(\s]*SELECT\s+ regex
  3. Exploit
    Bypass esc_sql via subquery branch
  4. Execution
    Inject time-based blind SQL subquery
  5. Impact
    Exfiltrate database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated WordPress administrator (PR:H) able to reach the search functionality that feeds the 's' parameter into Query::parse_key_compare_field(); the payload must match the regex ^[(\s]*SELECT\s+ so the value takes the vulnerable subquery-detection branch (which wraps it in parentheses and embeds it raw), and it must avoid single quotes since wp_magic_quotes only neutralizes those. Affected only in WP Optimizer (sh1zen) versions up to and including 2.5.0. The dominant limiting factor is the administrator privilege requirement: admins already have extensive legitimate database access in WordPress, greatly reducing real-world attacker benefit and confining realistic risk to privilege-boundary edge cases (e.g., multisite or restricted-admin setups) or post-compromise data theft.

Impact

This is a classic high-CVSS-subcomponent-but-low-real-priority issue. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N = 4.9 Medium) is internally consistent with the description: network-reachable, low complexity, no user interaction, but explicitly gated behind PR:H (administrator-level access). The single most important limiting signal is that only WordPress administrators can reach the vulnerable 's' parameter path - and administrators in WordPress already possess broad, legitimate database access (e.g., via plugin/theme editors, custom queries, or trivial capability abuse), which sharply diminishes the practical value of an admin-only SQLi. No EPSS score, KEV listing, or public POC is present in the provided intelligence, so there is no evidence of active exploitation or ready-made tooling. The C:H (confidentiality) rating is defensible for a time-based blind extraction primitive, but I:N/A:N correctly reflects that this is a read-only disclosure vector. Net: real but low priority - patch in routine cycles rather than treating as urgent, because the admin precondition means an attacker who can trigger this could typically already read the database by other means.

Exploit ScenarioDerived

An attacker who has already obtained WordPress administrator access (via stolen credentials, session hijack, or a rogue admin) submits a search request whose 's' parameter begins with a subquery pattern like '(SELECT ...' matching the ^[(\s]*SELECT\s+ regex. The plugin embeds this value unescaped into the SQL statement, letting the attacker run time-based blind subqueries to exfiltrate data such as user password hashes or secrets from the database. No public exploit code is identified at time of analysis, and exploitation requires administrator privileges, so this is not a mass-exploitable remote vector.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 19, 2026

SQL injection in WP Optimizer up to and including 2.5.0 allows authenticated administrator-level users to inject arbitrary SQL subqueries through the 's' parameter, enabling extraction of sensitive database information via time-based blind techniques. The flaw is rated CVSS 4.9 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N) and its real-world priority is limited because the attacker must already hold WordPress administrator privileges, which already convey broad database access. No public exploit was identified at time of analysis, and no CISA KEV entry is present.

RemediationAI

Upgrade WP Optimizer to a release newer than 2.5.0 once available; upstream fix available (Trac changeset/commit); released patched version not independently confirmed from the provided data. Review the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/4da302ab-8a5d-481b-8b28-a798e0982893?source=cve) and Trac changeset (https://plugins.trac.wordpress.org/changeset/3508033) for the exact patched build. If upgrading is not immediately possible, reduce exposure by ensuring only trusted users hold administrator roles, removing unnecessary admin accounts, and monitoring or restricting access to the plugin search functionality that supplies the 's' parameter; disabling the WP Optimizer plugin removes the vulnerable code path but loses its PageSpeed, cache, minify, and Core Web Vitals features. Because exploitation requires administrator privileges, prioritize credential hygiene, least-privilege administration, and post-compromise database monitoring; generic WAF SQL-injection rules may help but are not a substitute for removing the vulnerable branch.

Affected VersionsENISA

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

Affected Packages

euvd wp_optimizer_pagespeed_cache_minify_core_web_vitals no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is CWE-89 in WP Optimizer's Query::parse_key_compare_field() method. When a user-supplied value matches the regex ^[(\s]*SELECT\s+, the vulnerable subquery-detection branch wraps that value in parentheses and embeds it directly into the SQL string without escaping or quoting. The normal LIKE path correctly uses esc_sql($wpdb->esc_like(...)) and single quotes, but this branch bypasses those defenses. Because the payload contains no single quotes, WordPress's wp_magic_quotes() does not neutralize it. The affected package is identified by CPE cpe:2.3:a:sh1zen:wp_optimizer_-_pagespeed,_cache,_minify_&_core_web_vitals:*:*:*:*:*:*:*:* across versions up to 2.5.0. Exploitation requires authenticated administrator access and reachability of the search functionality that feeds the 's' parameter; successful injection can support arbitrary SQL subqueries, including time-based blind payloads, to read sensitive database contents.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Network-reachable low-complexity SQLi but gated behind administrator access (PR:H); read-only blind extraction yields C:H with I:N/A:N.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The WP Optimizer plugin for WordPress is vulnerable to SQL Injection via the 's' parameter in all versions up to and including 2.5.0. This is due to an unsafe subquery-detection branch in the Query::parse_key_compare_field() method that, when the user-supplied value matches the regex ^[(\s]*SELECT\s+, wraps the value in parentheses and embeds it directly into the SQL string without any escaping or quoting. While the normal LIKE code path correctly uses esc_sql($wpdb->esc_like(...)) and wraps the value in single quotes, this branch completely bypasses those protections. Because the attack payload (SELECT ...) contains no single quotes, WordPress's wp_magic_quotes() provides no protection. This makes it possible for authenticated attackers with administrator-level access to inject arbitrary SQL subqueries - including time-based blind payloads - that can be used to extract sensitive information from the database.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche sh1zen performance/cache plugin, not the popular WP-Optimize
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy