CVE Hunter
›
CVE-2026-6295

CWE-89

MEDIUM CVSS 4.9 NVD

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.

Yayınlanma 19.09.2026
ISO Tarih 2026-09-19
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. High PR:H
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları

FOFA Sorgusu

app="WordPress" && body="/wp-content/plugins/wp-optimizer"
CVSS Skoru
4.9 / 10 · CVSS MEDIUM
Zayıflık Türleri (CWE)
CWE-89
İlgili CVE'ler
9.4
CVE-2026-130706
NocoDB before 2026.09.0 contains an sql injection vulnerability that allows authenticated Creator or Owner use
8.8
CVE-2026-130689
NocoDB before 2026.10.0 contains an sql injection vulnerability that allows authenticated users with the Creat
8.6
CVE-2026-131850
ILIAS 11.0 before 11.6 contains an sql injection vulnerability in RegistrationCodeRepository::getCodesData() t
8.3
CVE-2026-130701
NocoDB before 2026.10.1 contains an SQL injection vulnerability because select-field option titles are embedde
8.2
CVE-2019-25784
FineCMS versions 5.0.4 before 5.0.11 contain an unauthenticated SQL injection vulnerability in the data2 API a
8.2
CVE-2021-48021
Chamilo LMS 1.11.10 before 1.11.16 contains an unauthenticated SQL injection vulnerability in the searchOption