Vulnerability details
CVE-2022-21661
WordPress wordpress-develop
SQL injection in WordPress
CVSS 3.1
8.0High
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.0High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| WordPress | wordpress-develop | < 5.8.3 | CVEProject cvelistV5 (CNA) |
References and advisories
11- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84 x_refsource_CONFIRM
- https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214 x_refsource_MISC
- https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ x_refsource_MISC
- https://www.zerodayinitiative.com/advisories/ZDI-22-020/ x_refsource_MISC
- https://www.debian.org/security/2022/dsa-5039 vendor-advisoryx_refsource_DEBIAN
- https://www.exploit-db.com/exploits/50663 x_refsource_MISC
- http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/ vendor-advisoryx_refsource_FEDORA
- https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html mailing-listx_refsource_MLIST
- https://www.vicarius.io/vsociety/posts/understanding-the-wordpress-sql-injection-vulnerability-cve-2022-21661
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2022-01-07
- Last updated
- 2024-09-09
- State
- Published
- Assigner (CNA)
- GitHub_M
- Kolun priority
- 47 · Medium
Exploit prediction (EPSS)
97.79%
Probability of exploitation in 30 days
99.9%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')