| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in WordPress up to 5.8.2. It has been declared as critical. This affects the function WP_Query. Such manipulation leads to sql injection.
This vulnerability is listed as CVE-2022-21661. The attack may be performed from remote. In addition, an exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in WordPress up to 5.8.2 (Content Management System). It has been rated as critical. Affected by this issue is the function WP_Query. The manipulation with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability.
The weakness was presented 01/07/2022 as GHSA-6676-cqfm-gw84. The advisory is available at github.com. This vulnerability is handled as CVE-2022-21661 since 11/16/2021. Technical details as well as a public exploit are known. This vulnerability is assigned to T1505 by the MITRE ATT&CK project.
The exploit is available at packetstormsecurity.com. It is declared as proof-of-concept.
Upgrading to version 5.8.3 eliminates this vulnerability. Applying the patch 17efac8c8ec64555eff5cf51a3eff81e06317214 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Exploit-DB (50663). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
Website
- Product: https://wordpress.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.7VulDB Meta Temp Score: 6.6
VulDB Base Score: 4.7
VulDB Temp Score: 4.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 8.0
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: WordPress 5.8.3
Patch: 17efac8c8ec64555eff5cf51a3eff81e06317214
Timeline
11/16/2021 🔍01/07/2022 🔍
01/07/2022 🔍
08/19/2025 🔍
Sources
Product: wordpress.comAdvisory: GHSA-6676-cqfm-gw84
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2022-21661 (🔍)
GCVE (CVE): GCVE-0-2022-21661
GCVE (VulDB): GCVE-100-189818
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 01/07/2022 08:27Updated: 08/19/2025 20:18
Changes: 01/07/2022 08:27 (52), 01/09/2022 17:16 (2), 06/20/2024 04:15 (23), 12/09/2024 22:45 (1), 08/19/2025 20:18 (19)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.