CVE-2024-50498: Improper Control of Generation of Code ('Code Injection') vulnerability in Ajit Bohra WP Query Console wp-quer
CVE-2024-50498 is a critical-severity flaw (CVSS 10.0) affecting wp query console. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper Control of Generation of Code ('Code Injection') vulnerability in Ajit Bohra WP Query Console wp-query-console allows Code Injection.This issue affects WP Query Console: from n/a through <= 1.0.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- CISA SSVC: public proof of concept
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 52.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2024-10-28 |
| 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
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: RandomRobbieBF/CVE-2024-50498 (3 stars)
- GitHub PoC: p0et08/CVE-2024-50498 (1 stars)
- GitHub PoC: JoshuaProvoste/0-click-RCE-Exploit-for-CVE-2024-50498 (1 stars)
- GitHub PoC: Nxploited/CVE-2024-50498
- Nuclei scan template: WP Query Console <= 1.0 - Remote Code Execution
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-50498?
wp query console: upgrade to newer than 1.0. Exact commands for each OS are on this page.
Is CVE-2024-50498 being exploited?
CVE-2024-50498 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-50498 affect?
CVE-2024-50498 affects wp query console. Severity is critical (CVSS 10.0). Improper Control of Generation of Code ('Code Injection') vulnerability in Ajit Bohra WP Query Console wp-query-console allows Code Injection.This issue affects WP Query Console: from n/a through <= 1.0.
How urgent is CVE-2024-50498?
Priority 71/100. Critical severity; EPSS top 1%: very likely to be exploited; CISA SSVC: public proof of concept; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action