Skip to content

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

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

CVE-2026-124211Published 26 Nov 2026, 09:33 UTC

Real-world risk

6.8/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Wordfence)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Ninja Tables – Responsive Table Builder for Data, Pricing & Product TablesNiche<= 5.5.1—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.6% chance of exploitation in 30 days (percentile 48), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
  4. Rounded to one decimal between 0.1 and 106.8

How the score works

Exploitation and evidence timeline

  1. 26 Nov 2026 Published
  2. 2 Dec 2026 Risk 6.8 (cvss fallback)

Weakness

CWE-89

References

Get alerts for Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables

Free email or text alerts when a vulnerability in Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables reaches risk 8 or higher. Nothing else.