CVE-2022-21661 - CVE House
Back to Database
Status published High CVE-2022-21661

SQL injection in WordPress

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-21661

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

wordpress-develop
Vulnerable Versions:
< 5.8.3

Timeline

Official Publish: January 6th, 2022
Last Modified: September 9th, 2024
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)