SQL Injection in WordPress
CVE-2022-21664
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to lack of proper sanitization in one of the classes, there's potential for unintended SQL queries to be executed. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 4.1.34. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this issue.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.038 (89.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000
Affected products
- WordPress
- WordPress Wordpress-Develop — versions >= 4.1.33, < 5.8.3
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
Public proof-of-concept exploits
References
- wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ (Release Notes, Vendor Advisory)
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86 (Third Party Advisory)
- github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442c… (Third Party Advisory)
- www.debian.org/security/2022/dsa-5039 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.debian.org/debian-lts-announce/2022/01/msg00019.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-21664?
- CVE-2022-21664 is a high-severity vulnerability in WordPress, classified under SQL Injection. CVSS score: 7.4/10. Published 2022-01-06.
- How severe is CVE-2022-21664?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2022-21664 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.