The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitab...
Date: 2024-08
Affected: webdigit/chatbot_with_chatgpt
Attack vector: sql-injection
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2024-6847
CWE: CWE-89
CVSS: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users when submitting messages to the chatbot.


Mitigations:

Architectural layers (MAESTRO):