SQL injection in WordPress
WordPress · wordpress-develop
The SQL injection flaw lives in WordPress (wordpress-develop), where improper sanitization in the WP_Query component can allow SQL injection through plugins or themes that use it in a particular way. An attacker would need network access and high privileges, and exploitation depends on a plugin or theme that uses WP_Query in the affected manner, with no user interaction required.
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that use it in a certain way. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 3.7.37. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this vulnerability.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 24 months after disclosure. Public exploit code (Exploit-DB) appeared 7 days after disclosure.
- Disclosedday 0
- Public exploit codeExploit-DB+7 days
- First seen exploitedVulnCheck KEV evidence+24 mo
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.
What security researchers reported
Not named in any threat report yetAlso mentioned in 4 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.8 May 2026
- Making Fun of Your APT Malware - Bitter APT Using ZxxZ Backdoor to Target Pakistan Public Accounts Committee | Malware Hell5 Jul 2022
- CVE-2022-21661 : WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to10 Jun 2022
- A VULNERABILITY HAS BEEN FOUND IN WORDPRESS UP TO 5.8.28 Jan 2022