Vulnerability · CVE-2022-21661
WordPress wordpress Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published Dec 23, 2023 · catalog updated Dec 23, 2023 · WordPress
Patch now
CVE-2022-21661 is in the CISA known-exploited catalog. Confirm WordPress against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- Severity
- Unknown—
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 97.80%
- Remediation
- Remediation guidance
- Affected products
- vendor WordPress wordpress
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. Initial-access exploit intelligence.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor WordPress wordpressversion unspecified
How to fix CVE-2022-21661
Recommended remediation
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2022-21661 is in the CISA known-exploited catalog. Confirm WordPress against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
What should an analyst verify?
No weakness class is stored. EPSS 97.80%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Dec 23, 2023 · VulnCheck KEV
Detected
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. W
Dec 23, 2023 · CISA KEV
Known exploited
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Sources
- CVE.orgVulnerability recordCVE-2022-21661
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2022-21661
30-day exploitation probability 97.8%
first.org - VulnCheck KEVConfirmed exploitationCVE-2022-21661
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 patc
vulncheck.com
References
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
- VulnCheck exploitation evidence · dashboard.shadowserver.org
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.