Skip to main content

Ninja Tables EUVDEUVD-2026-136159

| CVE-2026-124211 HIGH
SQL Injection (CWE-89)
2026-11-26 Wordfence
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Reach public ninja_tables AJAX endpoint
  2. Delivery
    Supply malicious dateFormat column metadata
  3. Exploit
    Escape single-quoted ORDER BY string
  4. Execution
    Append SQL subquery via orderByRaw()
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables 0 ≤5.5.1

Affected Packages

euvd ninja_tables_responsive_table_builder_for_data_pricing_product_tables 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

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

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

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).

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

Primary rating from Vendor (Wordfence).

CVSS VectorNVD

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 59% exploitable
Prevalence
Medium
popular WordPress table-builder plugin, tens of thousands of active installs
Social Media
2
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Yes
Human Impact
High

Priority Score

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