Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-21661

89
FAUCET Score

CVE-2022-21661 is a high-severity SQL injection vulnerability affecting WordPress versions up to 5.8.2, stemming from improper sanitization in WP_Query that can be exploited through plugins or themes. This vulnerability has a CVSS score of 7.5 (High) and allows for unauthenticated remote attackers to achieve high confidentiality impact. While not currently on the KEV catalog, public exploit code exists, including a Metasploit module and Nuclei templates, and it has garnered significant community discussion and media coverage, indicating a high potential for exploitation. WordPress has released patches for all affected versions, back to 3.7.37, and strongly recommends enabling auto-updates.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.7, < 3.7.37CPE matchmatch criteria
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
>= 3.8, < 3.8.37CPE matchmatch criteria
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
>= 3.9, < 3.9.35CPE matchmatch criteria
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
>= 4.0, < 4.0.34CPE matchmatch criteria
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
>= 4.1, < 4.1.34CPE matchmatch criteria
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.0HIGH

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.3
Impact Score
6.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
97.80%
Probability of exploitation in next 30 days
EPSS Percentile
99.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
Nuclei: CVE-2022-21661 · Mar 24, 2023
ExploitDB: EDB-50663 · Jan 13, 2022
This CVE's current EPSS score of 0.9779 is in the 100th percentile among its peer group of 51,506 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

github_advisorypatch availablevia nvd_reference
View patch

References

vicarius.io / vsociety/posts/understanding-the-wordpress-sql-injection-vulnerability-cve-2022-21661
ExploitThird Party Advisory
packetstormsecurity.com / files/165540/WordPress-Core-5.8.2-SQL-Injection.html
ExploitThird Party AdvisoryVDB Entry
github.com / WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
PatchThird Party Advisory
github.com / WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84
Third Party Advisory
lists.debian.org / debian-lts-announce/2022/01/msg00019.html
Mailing ListThird Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG
Third Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3
Third Party Advisory
wordpress.org / news/2022/01/wordpress-5-8-3-security-release
Release NotesVendor Advisory
debian.org / security/2022/dsa-5039
Third Party Advisory
exploit-db.com / exploits/50663
ExploitThird Party AdvisoryVDB Entry
zerodayinitiative.com / advisories/ZDI-22-020
Third Party AdvisoryVDB Entry