Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public ninja_tables AJAX endpoint
-
DeliverySupply malicious dateFormat column metadata
-
ExploitEscape single-quoted ORDER BY string
-
ExecutionAppend SQL subquery via orderByRaw()
-
ImpactExfiltrate 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 a target Ninja Tables table configured with sorting_type='by_column' using a date column - that specific configuration is what routes the attacker-influenced 'dateFormat' value into the orderByJsonQuery()/orderByRaw() ORDER BY clause. Given that precondition, no authentication is required (CVSS PR:N): requests hit the unauthenticated wp_ajax_ninja_tables_public_action AJAX endpoint, and the injected dateFormat value persists in the _ninja_table_columns post meta and executes on every subsequent unauthenticated request. The principal limiting factor is therefore the table's sorting configuration rather than privileges or user interaction; installs with no date-sorted 'by_column' table are not reachable through this path. Impact is limited to database read/confidentiality - the flaw does not by itself grant write or availability impact. |
| Impact | Signals point to a genuine but configuration-gated data-exposure risk rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated vulnerability, and the impact profile is confidentiality-only (C:H, I:N, A:N) - consistent with a SQL injection used to read database contents (CWE-89), not to modify data or take down the site. The vuln.today decision label is 'this_week' (not act_now or emergency), which argues for prompt patching rather than a drop-everything response. No EPSS score was supplied, the CVE is not on CISA KEV, and no confirmed working exploit was provided - only a Wordfence advisory and WordPress trac source-code links. The most important nuance the raw 7.5 score hides is a target-side precondition: per the description, injection only reaches the vulnerable orderByRaw() path when the affected table is configured with sorting_type='by_column' and a date column, so the realistic attack surface is narrower than 'any install.' Net: a real priority to patch, but its practical reach depends on how many deployed tables use that sorting configuration - a factor not quantified in the available data. |
| Exploit ScenarioDerived | An unauthenticated attacker locates a WordPress site running Ninja Tables that renders a table sorted by a date column (sorting_type='by_column') and sends a crafted request to the public wp_ajax_ninja_tables_public_action AJAX endpoint. Because convertDateFormatToMysql() only token-replaces date-format characters and leaves single quotes and other SQL metacharacters intact before the value is concatenated into an ORDER BY clause, the attacker breaks out of the quoted string and appends a subquery to exfiltrate credentials or other sensitive rows. No public exploit was identified at time of analysis, but the vulnerable code path is documented in the referenced plugin source. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Unauthenticated SQL injection in the WordPress plugin Ninja Tables (versions up to and including 5.5.1) lets remote attackers read sensitive database contents when a table is configured with sorting_type='by_column' and a date column. The attacker-influenced dateFormat value is stored in the _ninja_table_columns post meta and concatenated into an ORDER BY clause, so the payload executes on every unauthenticated request to the wp_ajax_ninja_tables_public_action AJAX endpoint. Exploitation is gated by that specific table configuration rather than by privileges or user interaction; no public exploit identified at time of analysis, and the impact is limited to database confidentiality (CVSS 7.5, C:H/I:N/A:N).
RemediationAI
An upstream fix is available in the plugin's trunk via changeset 3811500 (https://plugins.trac.wordpress.org/changeset/3811500/ninja-tables/trunk/app/Modules/DataProviders/DefaultProvider.php), which modifies DefaultProvider.php; however, a released plugin version containing that fix is not independently confirmed in the available data, so verify the plugin version and changelog before relying on an update. If an update cannot be validated or applied, remove the exposure path by changing tables away from sorting_type='by_column' on date columns (or removing date columns from publicly exposed tables), accepting that column sorting on dates is lost; also inspect and clean any injected dateFormat values in the _ninja_table_columns post meta, since the payload is stored and would otherwise continue to execute after the code path is otherwise addressed. Review the vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/624e67b5-4159-46fa-a60b-964194e40ffb?source=cve for updated guidance.
Affected VersionsENISA
Affected Packages
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
This is a CWE-89 SQL injection in the WordPress table-builder plugin Ninja Tables. Column metadata, including the dateFormat setting, is persisted in the _ninja_table_columns post meta. In DefaultProvider::orderByJsonQuery(), the stored dateFormat passes through convertDateFormatToMysql(), which only performs str_replace on date-format tokens and therefore leaves SQL metacharacters such as single quotes intact. The resulting value is concatenated directly into an orderByRaw() ORDER BY clause inside single quotes. Because the wp_ajax_ninja_tables_public_action AJAX endpoint is unauthenticated and the malicious value is stored rather than supplied per request, a crafted dateFormat executes on every subsequent public request that reaches the vulnerable path. Reachability depends on the table using sorting_type='by_column' with a date column, which is what routes the stored value into orderByJsonQuery()/orderByRaw(); installs without such a date-sorted table are not reachable through this path. The flaw yields read-only database disclosure and does not by itself provide write or availability impact.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated public AJAX endpoint gives AV:N/PR:N/UI:N; SQL injection yields database read so C:H, with no integrity or availability impact (I:N/A:N).
Primary rating from Vendor (Wordfence).
CVSS VectorNVD
DescriptionNVD
The Ninja Tables - Responsive Table Builder for Data, Pricing & Product Tables plugin for WordPress is vulnerable to SQL Injection via the 'dateFormat' column metadata parameter in versions up to, and including, 5.5.1 This is due to insufficient escaping on the stored 'dateFormat' value in DefaultProvider::orderByJsonQuery(); convertDateFormatToMysql() only performs str_replace on date-format tokens and leaves SQL metacharacters (including single quotes) intact, after which the value is concatenated directly into an orderByRaw() ORDER BY clause inside single quotes. 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; the payload is stored in the _ninja_table_columns post meta and executed on every unauthenticated request to the wp_ajax_ninja_tables_public_action AJAX endpoint when the table uses sorting_type='by_column' with a date column.
Executive ViewAI
The Ninja Tables WordPress plugin (versions up to 5.5.1) contains a high-severity unauthenticated SQL injection vulnerability that can allow remote attackers to read sensitive database contents when a specific table configuration is present. This affects any organization using the plugin on internet-facing WordPress sites, threatening the confidentiality of stored data. Leadership should prioritize remediation because no vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling the Ninja Tables plugin until a fix is available, restricting access to the vulnerable AJAX endpoint via WAF rules or server configuration, and auditing existing tables to remove or modify configurations with sorting_type='by_column' and date columns.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-136159
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB