CVE-2022-21661
HIGH 8.0EPSS 97.8%
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.
- CVSS v3.1
- 7.5 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS v3.1
- 8.0 HIGH
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - CVSS v2.0
- 5.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N - EPSS
- 97.80% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- high · CWE-89
- Published
- 2022-01-06
- Updated
- 2024-09-09
Proof-of-concept exploits (17)
- http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html
- https://www.vicarius.io/vsociety/posts/understanding-the-wordpress-sql-injection-vulnerab…
- 0x4E0x650x6F/Wordpress-cve-CVE-2022-2166114★ · 2022-05-28
- CharonDefalt/WordPress--CVE-2022-216610★ · 2024-03-24
- Fauzan-Aldi/CVE-2022-216610★ · 2025-05-13
- QWERTYisme/CVE-2022-216617★ · 2022-08-02
- WellingtonEspindula/SSI-CVE-2022-216616★ · 2023-11-30
- daniel616/CVE-2022-21661-Demo2★ · 2023-05-10
- guestzz/CVE-2022-216617★ · 2022-08-02
- p4ncontomat3/CVE-2022-216610★ · 2024-01-04
- purple-WL/wordpress-CVE-2022-2166117★ · 2022-02-17
- safe3s/CVE-2022-216610★ · 2022-11-06
- sealldeveloper/CVE-2022-21661-PoC6★ · 2023-04-27
- w0r1i0g1ht/CVE-2022-216610★ · 2024-11-12
- z92g/CVE-2022-2166128★ · 2023-03-11
- GMJayy/wp-cve-poc4★ · 2026-08-27
- davide-capra/PoCcve-2022-21661