SQL injection in Ninja Tables plugin for WordPress via dateFormat
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
The Ninja Tables plugin for WordPress is affected up to and including version 5.5.1. The dateFormat column metadata value is not escaped before it is concatenated into an ORDER BY clause, which is an SQL injection flaw (CWE-89). An unauthenticated attacker can append additional SQL queries to existing queries and extract sensitive information from the database.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WP ManageNinja LLC | Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables | up to 5.5.1 | — | No fix listed | CNA |
- Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables VendorWP ManageNinja LLC Affected up to 5.5.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Ninja Tables.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-124211
- 2026-11-27 Alias added: GHSA-8ff6-vfxw-59j6
References
Other 6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/624e67b5-4159-46fa-a60b-964194e40ffb?source=cve
- https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L129
- https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L143
- https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Hooks/Handlers/AjaxHandler.php#L30
- https://wordpress.org/plugins/ninja-tables/
- https://plugins.trac.wordpress.org/changeset/3811500/ninja-tables/trunk/app/Modules/DataProviders/DefaultProvider.php
More WP ManageNinja LLC vulnerabilities
- TI-2021-13634 CSRF in WP Fluent Forms < 3.6.67 allows stored XSS and Privilege Escalation CVSS 3.1HIGH 8.8
- TI-2022-04342 FluentAuth < 1.0.2 - Bypass blocks by IP Spoofing CVSS 3.1HIGH 7.5
- TI-2024-11836 Ninja Tables < 5.0.17 - Admin+ Stored XSS CVSS 3.1MEDIUM 6.1
- TI-2023-00211 FluentSMTP < 2.2.3 - Stored XSS via Email Logs CVSS 3.1MEDIUM 5.4
- TI-2026-74728 Privilege escalation in WordPress Fluent CRM plugin CVSS 3.1CRITICAL 9.8
- TI-2026-51633 Ninja Tables Pro 5.2.11 Embedded Malicious Code via Tampered Plugin Build CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-124211 · CVE Program
- CVE-2026-124211 · NVD
- FIRST EPSS
- GHSA-8ff6-vfxw-59j6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences