CVE-2022-21664 HIGH

CVE-2022-21664: SQL injection in WordPress

Vendor Wordpress
Product wordpress-develop
Weakness CWE-89 · SQLi
Published January 6, 2022
Last update April 23, 2025

CVSS base score

7.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 6, 2022 CVE published
April 23, 2025 Record updated