CVEBrief

Home / WordPress / wordpress-develop / CVE-2022-21661

CVE-2022-21661: is it exploited, and which versions of wordpress-develop are affected and fixed?

CVE-2022-21661 is a SQL injection vulnerability in wordpress-develop. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: wordpress-develop < 5.8.3 (CVE record by GitHub_M). Fixed in 3.7.37, 3.8.37, 3.9.35, 4.0.34 and 2 more (NVD). Severity: High (8.0, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:52 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
wordpress-develop < 5.8.3
CVE record by GitHub_M
Fixed in
3.7.37, 3.8.37, 3.9.35, 4.0.34 and 2 more
NVD
Severity
High 8.0
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
97.8% in 30 days
higher than 100% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-21661?

SQL injection in WordPress

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.

From the CVE record by GitHub_M, last updated September 9, 2024, 14:13 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
WordPresswordpress-develop< 5.8.3

As the CVE record by GitHub_M states it, last updated September 9, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
wordpresswordpressfrom 3.7 before 3.7.37application
wordpresswordpressfrom 3.8 before 3.8.37application
wordpresswordpressfrom 3.9 before 3.9.35application
wordpresswordpressfrom 4.0 before 4.0.34application
wordpresswordpressfrom 4.1 before 4.1.34application
wordpresswordpressfrom 4.2 before 4.2.31application
wordpresswordpressfrom 4.3 before 4.3.27application
wordpresswordpressfrom 4.4 before 4.4.26application
wordpresswordpressfrom 4.5 before 4.5.25application
wordpresswordpressfrom 4.6 before 4.6.22application
wordpresswordpressfrom 4.7 before 4.7.22application
wordpresswordpressfrom 4.8 before 4.8.18application
wordpresswordpressfrom 4.9 before 4.9.19application
wordpresswordpressfrom 5.0 before 5.0.15application
wordpresswordpressfrom 5.1 before 5.1.12application
wordpresswordpressfrom 5.2 before 5.2.14application
wordpresswordpressfrom 5.3 before 5.3.11application
wordpresswordpressfrom 5.4 before 5.4.9application
wordpresswordpressfrom 5.5 before 5.5.8application
wordpresswordpressfrom 5.6 before 5.6.7application
wordpresswordpressfrom 5.7 before 5.7.5application
wordpresswordpressfrom 5.8 before 5.8.3application
fedoraprojectfedora34operating system
fedoraprojectfedora35operating system
debiandebian linux9.0operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 04:26 UTC.

How severe is CVE-2022-21661?

ScoreVersionVectorSource
High 8.0CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-21661 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, September 9, 2024)
EPSS
97.8% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 16, 2021
Published
January 6, 2022, 22:50 UTC
CVE record updated
September 9, 2024, 14:13 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 04:26 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect wordpress-develop?

Every CVE in wordpress-develop

Questions about CVE-2022-21661

Is CVE-2022-21661 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 97.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of wordpress-develop are affected by CVE-2022-21661?

wordpress-develop < 5.8.3, per the CVE record by GitHub_M. The tables above give every range the sources list.

Which version fixes CVE-2022-21661?

3.7.37, 3.8.37, 3.9.35, 4.0.34, 4.1.34 and 4.2.31, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-21661?

High (8.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-21661?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.