CVE-2026-124211

7.5High

Published Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
CWE-89

What an attacker gets

Unauthenticated attackers can perform SQL injection to extract sensitive database information. They trigger this by sending a crafted request to the public AJAX endpoint.

Root cause

The plugin fails to properly escape the dateFormat column metadata before concatenating it into a raw SQL ORDER BY clause.

Affected versions

Ninja Tables versions up to and including 5.5.1

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Fix & remediation

Update to version 5.5.2 or later. If you cannot update immediately, disable the Ninja Tables plugin.

remediation — bash
$ wp plugin update ninja-tables

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-124211

More fully triaged vulnerabilities you may want to check next.