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 trend (30 days)EPSS over the last 30 days for CVE-2022-21664: held from 0.038 to 0.038.

EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.