CVE-2024-6845: The Chatbot with ChatGPT WordPress plugin before 2.4.6 does not have proper authorization in one of its REST e
CVE-2024-6845 is a medium-severity flaw (CVSS 5.3) affecting chatbot with chatgpt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Chatbot with ChatGPT WordPress plugin before 2.4.6 does not have proper authorization in one of its REST endpoint, allowing unauthenticated users to retrieve the encoded key and then decode it, thereby leaking the OpenAI API key
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Weakness | CWE-862 |
| Published | 2024-09-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: SmartSearchWP < 2.4.6 - OpenAI Key Disclosure
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6845?
chatbot with chatgpt: upgrade to 2.4.6. Exact commands for each OS are on this page.
Is CVE-2024-6845 being exploited?
CVE-2024-6845 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6845 affect?
CVE-2024-6845 affects chatbot with chatgpt. Severity is medium (CVSS 5.3). The Chatbot with ChatGPT WordPress plugin before 2.4.6 does not have proper authorization in one of its REST endpoint, allowing unauthenticated users to retrieve the encoded key and then decode it, thereby leaking the OpenAI API key
How urgent is CVE-2024-6845?
Priority 45/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
WordPress vulnerabilities · OpenAI and LLM tools vulnerabilities · OpenAI ChatGPT vulnerabilities
Related CVEs
- CVE-2024-6847 CRITICAL 9.8 UPGRADE The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not properly sanitise and escape a parameter befor
- CVE-2024-6846 MEDIUM 5.3 UPGRADE The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not validate access on some REST routes, allowing
- CVE-2024-6843 MEDIUM 6.1 UPGRADE The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not sanitise and escape user inputs, which could a