Your RSA-2048 keys break in 2030. Find every one of them before attackers do.

CVE-2022-21661

HIGH

SQL injection in WordPress

Also known asBIT-wordpress-2022-21661BIT-wordpress-multisite-2022-21661GHSA-6676-cqfm-gw84
Published
Jan 6, 2022
Updated
Apr 10, 2026
Affected
0 pkgs
Patched
None yet
Exploits
20 known

EPSS Exploitation Probability

via FIRST.org ↗
90.4%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
89.8%90.3%90.9%91.4%90.9%90.4%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Description

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.

Exploits & PoCs
20

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-50663webappsphp

WordPress Core 5.8.2 - 'WP_Query' SQL Injection

by Aryan Chehreghani · Jan 13, 2022

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-21661 in your stack?

O3 detects CVE-2022-21661 across dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.