# CVE-2026-124211: Ninja Tables \<= 5.5.1 - Unauthenticated SQL Injection via 'dateFormat' Parameter

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-30)
- **CWE:** CWE-89
- **Published:** 2026-11-26T09:33:23.069Z
- **Modified:** 2026-11-26T10:17:07.070Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can inject SQL via the dateFormat column metadata parameter in the Ninja Tables WordPress plugin, extracting sensitive database contents.

## Who should check

- Anyone running wpmanageninja Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables \<= 5.5.1

## Description

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.

## Affected and fixed versions

- wpmanageninja Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables: \<= 5.5.1 (cvelist)

## Technologies

MySQL (AI-matched), WordPress (AI-matched), WordPress plugins and themes

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-124211. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-124211.md
Affected: wpmanageninja Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables <= 5.5.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for wpmanageninja Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-124211 being exploited?

There is no confirmed exploitation: CVE-2026-124211 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2026-124211?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-124211?

wpmanageninja Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables \<= 5.5.1.

### Is there a fix for CVE-2026-124211?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-124211?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-124211>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-124211> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-124211>
