CVE-2026-124211: Ninja Tables SQL Injection Flaw

WordPress sites using the Ninja Tables plugin should update to version 5.5.2 after researchers disclosed a high-severity SQL injection flaw that lets a visitor with no account extract sensitive information from the site's database. The flaw, tracked as CVE-2026-124211, scores 7.5 out of 10 and was published on 26 November.
How the flaw works
The flaw sits in the way Ninja Tables handles the date format of a table column. The format value is stored in the site's database as column metadata, and when a table sorts by a date column, the plugin converts that value into MySQL date-format syntax. The conversion only swaps known date tokens and leaves SQL characters such as single quotes untouched, and the result is then pasted directly into a database query. An attacker who can influence the stored format value can break out of the quoted string and append their own SQL, and the database runs it.
The injected query runs on every unauthenticated request to the plugin's public table action, provided the table sorts by column and includes a date column. Because the payload is stored in the database and executed again on each request, it is a stored, or second-order, injection rather than a one-off attack. The impact is on confidentiality: an attacker can pull sensitive information out of the WordPress database.
Which versions are affected
All versions up to and including 5.5.1 are affected, and 5.5.2, released on 19 November, is the fixed version. A newer release, 5.5.3, is already current, so sites should update to the latest version rather than stopping at 5.5.2. No exploitation of the flaw has been confirmed, and it does not appear in CISA's exploited-vulnerabilities catalogue.
What site owners should do
Update Ninja Tables to the latest version. Until the update is installed, restrict public access to tables that sort by a date column, and audit the stored date-format settings on tables that must stay public. Any date-format value containing SQL characters or quotes should be treated as suspicious and reset.
Frequently asked questions
Do I need to be logged in to attack a site? No. The flaw needs no login and no user interaction, and the malicious query runs when any visitor loads a public table that sorts by a date column.
Does the flaw let an attacker change my site? The flaw is rated for confidentiality only, so its proven impact is reading sensitive data from the database, not changing or deleting it.
Sources: CVE Record and WP Server Guard.