CVE-2022-21661 HIGH

CVE-2022-21661: SQL injection in WordPress

Vendor Wordpress
Product wordpress-develop
Weakness CWE-89 · SQLi
Published January 6, 2022
Last update September 9, 2024

CVSS base score

8.0/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

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 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.

Key dates

02Disclosure timeline

January 6, 2022 CVE published
September 9, 2024 Record updated