CVE-2022-21661CWE-89

SQL injection in WordPress

High · published January 6, 2022

Patch now

High probability of exploitation

CVSS calls it high at 8.0. It sits in the 99.9th percentile for exploit probability.

CVSS v3.1
8.0
EPSS
98%
Percentile
99.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.97795 · 99.9th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-01-06T22:50Z
EPSS history
Timeline
  • 06 JAN 22:50Z
    SQL injection in WordPress
    cvelistv5