CVE-2026-124211
7.5HighPublished Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
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.
$ wp plugin update ninja-tablesAI-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
- https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Hooks/Handlers/AjaxHandler.php#L30
- https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L129
- https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L143
- https://plugins.trac.wordpress.org/changeset/3811500/ninja-tables/trunk/app/Modules/DataProviders/DefaultProvider.php
- https://wordpress.org/plugins/ninja-tables/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/624e67b5-4159-46fa-a60b-964194e40ffb?source=cve
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-973457.5HighUnauthenticated attackers can enumerate order IDs to harvest secret order keys. This allows them to access customer PII including names, emails, and billing addresses.
- CVE-2026-854167.2HighUnauthenticated attackers can inject malicious scripts into admin pages via public form submissions. These scripts execute in the browser of any administrator who views the injected leads.
- CVE-2026-854127.2HighUnauthenticated attackers can inject malicious scripts into your site that execute in a user's browser. They can obtain the required form nonce via an unprotected REST endpoint without needing any credentials.
- CVE-2026-760758.8HighAuthenticated attackers can achieve remote code execution by uploading and activating malicious plugins. This requires at least Subscriber-level access to the WordPress site.
- CVE-2026-1375568.8HighAuthenticated users with stacks:edit permissions can achieve remote code execution as root. They do this by sending a crafted path to the API to overwrite system files.
- CVE-2026-1375527.5HighRemote attackers can bypass two-factor authentication and forced password resets to gain full-access tokens. They need a user's valid username and password to exploit this.