🔐 CVE Alert

CVE-2026-124211

HIGH 7.5

Ninja Tables <= 5.5.1 - Unauthenticated SQL Injection via 'dateFormat' Parameter

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-89
Vendor wpmanageninja
Product ninja tables – responsive table builder for data, pricing & product tables
Published Nov 26, 2026
Stay Ahead of the Next One

Get instant alerts for wpmanageninja ninja tables – responsive table builder for data, pricing & product tables

Be the first to know when new high vulnerabilities affecting wpmanageninja ninja tables – responsive table builder for data, pricing & product tables are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

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

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/624e67b5-4159-46fa-a60b-964194e40ffb?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L129 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L143 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Hooks/Handlers/AjaxHandler.php#L30 wordpress.org: https://wordpress.org/plugins/ninja-tables/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3811500/ninja-tables/trunk/app/Modules/DataProviders/DefaultProvider.php

Credits

Wordfence PRISM