Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for Ninja Tables – Responsive Table Builder for Data, Pricing & Product Tables by wpmanageninja

    CVE-2026-124211 (GCVE-0-2026-124211)

    Vulnerability from nvd – Published: 2026-11-26 09:33 – Updated: 2026-11-26 09:33
    VLAI
    Title
    Ninja Tables <= 5.5.1 - Unauthenticated SQL Injection via 'dateFormat' Parameter
    Summary
    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.
    CWE
    • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command
    Assigner
    Wordfence CNA under the mitre root
    CNA scorecard C 65/100 over 2644 records in the last 180 days details
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Ninja Tables \u2013 Responsive Table Builder for Data, Pricing \u0026 Product Tables",
              "vendor": "wpmanageninja",
              "versions": [
                {
                  "lessThanOrEqual": "5.5.1",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Wordfence PRISM"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The Ninja Tables \u2013 Responsive Table Builder for Data, Pricing \u0026 Product Tables plugin for WordPress is vulnerable to SQL Injection via the \u0027dateFormat\u0027 column metadata parameter in versions up to, and including, 5.5.1 This is due to insufficient escaping on the stored \u0027dateFormat\u0027 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=\u0027by_column\u0027 with a date column."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-26T09:33:23.069Z",
            "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
            "shortName": "Wordfence"
          },
          "references": [
            {
              "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/624e67b5-4159-46fa-a60b-964194e40ffb?source=cve"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L129"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L143"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Hooks/Handlers/AjaxHandler.php#L30"
            },
            {
              "url": "https://wordpress.org/plugins/ninja-tables/"
            },
            {
              "url": "https://plugins.trac.wordpress.org/changeset/3811500/ninja-tables/trunk/app/Modules/DataProviders/DefaultProvider.php"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-06T22:25:39.000Z",
              "value": "Vendor Notified"
            },
            {
              "lang": "en",
              "time": "2026-11-25T21:04:12.000Z",
              "value": "Disclosed"
            }
          ],
          "title": "Ninja Tables \u003c= 5.5.1 - Unauthenticated SQL Injection via \u0027dateFormat\u0027 Parameter"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "assignerShortName": "Wordfence",
        "cveId": "CVE-2026-124211",
        "datePublished": "2026-11-26T09:33:23.069Z",
        "dateReserved": "2026-11-06T22:10:22.507Z",
        "dateUpdated": "2026-11-26T09:33:23.069Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-124211 (GCVE-0-2026-124211)

    Vulnerability from cvelistv5 – Published: 2026-11-26 09:33 – Updated: 2026-11-26 09:33
    VLAI
    Title
    Ninja Tables <= 5.5.1 - Unauthenticated SQL Injection via 'dateFormat' Parameter
    Summary
    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.
    CWE
    • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command
    Assigner
    Wordfence CNA under the mitre root
    CNA scorecard C 65/100 over 2644 records in the last 180 days details
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Ninja Tables \u2013 Responsive Table Builder for Data, Pricing \u0026 Product Tables",
              "vendor": "wpmanageninja",
              "versions": [
                {
                  "lessThanOrEqual": "5.5.1",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Wordfence PRISM"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The Ninja Tables \u2013 Responsive Table Builder for Data, Pricing \u0026 Product Tables plugin for WordPress is vulnerable to SQL Injection via the \u0027dateFormat\u0027 column metadata parameter in versions up to, and including, 5.5.1 This is due to insufficient escaping on the stored \u0027dateFormat\u0027 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=\u0027by_column\u0027 with a date column."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-26T09:33:23.069Z",
            "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
            "shortName": "Wordfence"
          },
          "references": [
            {
              "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/624e67b5-4159-46fa-a60b-964194e40ffb?source=cve"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L129"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Modules/DataProviders/DefaultProvider.php#L143"
            },
            {
              "url": "https://plugins.trac.wordpress.org/browser/ninja-tables/tags/5.5.0/app/Hooks/Handlers/AjaxHandler.php#L30"
            },
            {
              "url": "https://wordpress.org/plugins/ninja-tables/"
            },
            {
              "url": "https://plugins.trac.wordpress.org/changeset/3811500/ninja-tables/trunk/app/Modules/DataProviders/DefaultProvider.php"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-06T22:25:39.000Z",
              "value": "Vendor Notified"
            },
            {
              "lang": "en",
              "time": "2026-11-25T21:04:12.000Z",
              "value": "Disclosed"
            }
          ],
          "title": "Ninja Tables \u003c= 5.5.1 - Unauthenticated SQL Injection via \u0027dateFormat\u0027 Parameter"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "assignerShortName": "Wordfence",
        "cveId": "CVE-2026-124211",
        "datePublished": "2026-11-26T09:33:23.069Z",
        "dateReserved": "2026-11-06T22:10:22.507Z",
        "dateUpdated": "2026-11-26T09:33:23.069Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }