Read the docs

SQL injection in Ninja Tables plugin for WordPress via dateFormat

Priority LOW 34CWE-89Published · Updated

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

EPSS 0.00567 40th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
WP ManageNinja LLCNinja Tables – Responsive Table Builder for Data, Pricing & Product Tablesup to 5.5.1—No fix listedCNA
  • 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

  1. 2026-11-26 Threatist record created from CVE-2026-124211
  2. 2026-11-27 Alias added: GHSA-8ff6-vfxw-59j6

References

  • 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
See all 92 →

Sources