Skip to main content

Filter & Grids CVE-2025-10289

MEDIUM
SQL Injection (CWE-89)
2025-12-13 security@wordfence.com
5.9
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

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

  1. Access
    Identify WordPress site running Filter & Grids ≤3.2.0 on MariaDB
  2. Exploit
    Send crafted request with malicious 'phrase' parameter
  3. Execution
    Append stacked/UNION SQL to existing query
  4. Impact
    Extract sensitive database records

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

Exploitation requires the target WordPress site to (1) have the Filter & Grids plugin (YMC Smart Filter) installed at version 3.2.0 or earlier, and (2) run on a MariaDB database backend - the description states the injection produces only a syntax error on MySQL, so MySQL-backed sites are effectively not exploitable. No authentication and no user interaction are needed (PR:N/UI:N), and the attack targets the 'phrase' request parameter. The principal limiting factors are the hard MariaDB dependency and the high attack complexity (AC:H), which together substantially narrow the exploitable population; impact is limited to data disclosure, with no write/integrity or availability effect.

Impact

This is a moderate-priority issue rather than an urgent one, and the signals are largely consistent. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/C:H/I:N/A:N, base 5.9) describes a network-reachable, unauthenticated SQL injection whose only impact is confidentiality (data extraction), with high attack complexity. The high complexity is explained directly by the description: the injection only succeeds against a MariaDB backend and throws a syntax error on MySQL, so a meaningful fraction of WordPress deployments are not exploitable at all. EPSS of 0.28% (19th percentile) reinforces low real-world exploitation likelihood, and the vulnerability is NOT in CISA KEV - so there is no evidence of active exploitation. No public exploit code is referenced in the provided data. The signals do not conflict: a mid-range CVSS, low EPSS, no KEV, and no POC together indicate a genuine but non-critical flaw. The main caveat is that unauthenticated SQLi in a WordPress plugin is the class of bug that is frequently automated once a POC appears, so the database-engine constraint (MariaDB-only) is the key factor keeping real-world risk contained today.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted request manipulating the 'phrase' parameter handled by the Filter & Grids plugin on a WordPress site backed by MariaDB, appending additional SQL to the existing query to read sensitive data such as user credentials or secrets from the database. No public exploit is referenced in the provided data, and the attack fails (syntax error) if the site runs MySQL rather than MariaDB.

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 – Oct 07, 2026

Unauthenticated SQL injection in the WordPress plugin Filter & Grids (YMC Smart Filter) through version 3.2.0 allows remote attackers to append additional SQL onto the plugin's existing query through the 'phrase' parameter and extract sensitive information from the site database - but only when the site runs on MariaDB, since the same payload produces a syntax error on MySQL and MySQL-backed installations are effectively not exploitable. Rated CVSS 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N), the flaw needs no authentication and no user interaction, yet the hard MariaDB dependency and high attack complexity sharply narrow the exposed population, and impact is limited to confidentiality (no write or availability effect). No public exploit code has been identified at time of analysis, there is no CISA KEV entry, and EPSS is low at 0.28% (19th percentile), making this a moderate-priority rather than urgent issue.

RemediationAI

Primary fix: an upstream correction is available for the plugin (upstream fix available via changeset/commit; the released patched version is not independently confirmed in the supplied data), so site owners should update Filter & Grids/YMC Smart Filter from the WordPress.org plugin directory and verify the installed version is newer than 3.2.0, confirming the fix matches changeset 3378420 and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/f8bbab6e-ed2f-4b90-a658-aae85906d06e?source=cve. If an update cannot be applied immediately, the most decisive control is to deactivate the plugin entirely - the trade-off is loss of the site's filtering and grid display functionality - or, where that is unacceptable, to deploy virtual patching/WAF rules that block SQL metacharacters in the 'phrase' parameter, accepting possible false positives on legitimate search strings since that parameter is used by normal user-facing filtering. Because exploitability is gated on MariaDB, triage can be prioritized by confirming the database backend (for example via SELECT VERSION() or the hosting panel): MySQL-backed sites are not exposed to this vector and need not take emergency action, whereas MariaDB-backed sites should patch first and monitor database logs for anomalous statement patterns. No public exploit code has been identified at time of analysis, so compensating controls are preventive rather than incident-driven.

Affected ProductsAI

The WordPress plugin Filter & Grids, also distributed under the name YMC Smart Filter with plugin slug ymc-smart-filter, is affected in all versions up to and including 3.2.0; no CPE strings were supplied in the source data, so version scoping should be confirmed against the plugin directory listing and the upstream repository. Exploitation is further constrained to installations running a MariaDB database backend - the description states the injected query only produces a syntax error on MySQL, so MySQL-backed WordPress sites are effectively unaffected by this specific vector. The upstream fix is referenced by the WordPress.org Trac changeset at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3378420%40ymc-smart-filter&new=3378420%40ymc-smart-filter&sfp_email=&sfph_mail=, and the vulnerability details are published at https://www.wordfence.com/threat-intel/vulnerabilities/id/f8bbab6e-ed2f-4b90-a658-aae85906d06e?source=cve.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), arising in the WordPress plugin distributed as Filter & Grids, internally slugged ymc-smart-filter. The plugin takes the user-supplied 'phrase' request parameter and interpolates it into a SQL statement without sufficient escaping and without using WordPress's parameterized query mechanism ($wpdb->prepare() with placeholders), so attacker-controlled text becomes part of the executed SQL and can alter the intended query to return additional data from the underlying tables. Because WordPress plugins routinely query custom tables (the plugin is a filtering/grids tool, so it stores filter metadata), successful injection can expose rows beyond the intended result set. A notable technical wrinkle is backend dependence: the crafted payload yields a syntax error against MySQL but parses on MariaDB, which is a MySQL fork with its own dialect and parser quirks; that divergence is what drives the AC:H rating in the CVSS vector and why the vulnerable population is limited to MariaDB-backed sites. The plugin's Trac changeset 3378420 (old=3378420, new=3378420 on ymc-smart-filter) contains the upstream code correction referenced by NVD, and the Wordfence advisory (threat-intel ID f8bbab6e-ed2f-4b90-a658-aae85906d06e) documents the discovery.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation only works on MariaDB backends; confidentiality-only data extraction gives C:H, I:N, A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/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
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The Filter & Grids plugin for WordPress is vulnerable to SQL Injection via the 'phrase' parameter in all versions up to, and including, 3.2.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This only works on MariaDB as the query results in a syntax error on MySQL.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
specific WordPress filtering plugin, moderate install base, not core software
Data Quality
3 sources
Confidence: Low

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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