Security mailing lists by PureSourceCode

CVE-2026-124211

HIGH 7.5CVSS 3.1

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

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.

Published
26 Nov 2026
Last modified
1 Dec 2026
Assigned by
security@wordfence.com
NVD status
Deferred
Weakness
CWE-89
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@wordfence.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE List Wordfence CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List wpmanageninja Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables <= 5.5.1

References

History

  • 1 Dec 2026 20:28 UTC · CVE List: updated (other details)
  • 1 Dec 2026 20:28 UTC · NVD: updated (other details)
  • 26 Nov 2026 10:26 UTC · NVD: first stored (published 26 Nov 2026)
  • 26 Nov 2026 10:26 UTC · CVE List: first stored (published 26 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.