CVE-2022-21661

Summary

CVECVE-2022-21661
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-06 23:15:00 UTC
Updated2023-11-07 03:43:00 UTC
DescriptionWordPress 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Wordpress Wordpress All All All All
Application Wordpress Wordpress All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 35 Update: wordpress-5.8.3-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
ZDI-22-020 | Zero Day Initiative MISC www.zerodayinitiative.com
[SECURITY] [DLA 2884-1] wordpress security update MLIST lists.debian.org
[SECURITY] Fedora 34 Update: wordpress-5.8.3-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Query: Improve sanitization within `WP_Tax_Query`. · WordPress/wordpress-develop@17efac8 · GitHub MISC github.com
WordPress Core 5.8.2 - 'WP_Query' SQL Injection - PHP webapps Exploit MISC www.exploit-db.com
WordPress: SQL Injection through WP_Query · Advisory · WordPress/wordpress-develop · GitHub CONFIRM github.com
Debian -- Security Information -- DSA-5039-1 wordpress DEBIAN www.debian.org
WordPress Core 5.8.2 SQL Injection ≈ Packet Storm MISC packetstormsecurity.com
News – WordPress 5.8.3 Security Release – WordPress.org MISC wordpress.org
[SECURITY] Fedora 34 Update: wordpress-5.8.3-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: wordpress-5.8.3-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 150448 WordPress Multiple Vulnerabilities : Security Update 5.8.3 (CVE-2022-21661,CVE-2022-21662,CVE-2022-21663)
  • 178992 Debian Security Update for wordpress (DSA 5039-1)
  • 179020 Debian Security Update for wordpress (DLA 2884-1)
  • 182929 Debian Security Update for wordpress (CVE-2022-21661)
  • 282249 Fedora Security Update for wordpress (FEDORA-2022-e37e1e6c7a)
  • 282250 Fedora Security Update for wordpress (FEDORA-2022-8472dd59ff)
  • 730330 WordPress Prior to 3.7.37 and 5.8.3 Multiple Security Vulnerabilities
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report