🛡️ CVE-2022-21661
🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-89 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CWE CWE-89
Public Exploit ⚠️ Yes
Source NVD
Published 2022-01-06
Updated 2026-06-15
Modified 2025-08-19

Affected Packages

Software From version Fixed in
debian-linux
fedora
wordpress
wordpress-multisite

References

Exploit, Third Party Advisory, VDB Entry https://www.exploit-db.com/exploits/50663
Exploit, Third Party Advisory, VDB Entry https://www.exploit-db.com/exploits/50663

Similar Threats

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.