8

CVE-2022-21661: SQL injection in WordPress

Analyzed
AliasesUBUNTU-CVE-2022-21661DEBIAN-CVE-2022-21661
Published 06-01-2022Last modified 09-09-2024

Vulnerability summary

CVE-2022-21661 is a high (CVSS 8.0) vulnerability in debian debian_linux. EPSS estimates a 97.80% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 13-01-2022)

Source freshness unavailable

How is this decided?
CVSS score
8.0/10
010
High · v3.1 (CVE.org)
EPSS score
97.80%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 06-01-2022
    PublishedVulnerability first disclosed.
  2. 09-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

97.80%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 97.80% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (vicarius.io)

    Maturity: unknown

  • exploit-databasephpUnverified

    WordPress Core 5.8.2 - 'WP_Query' SQL Injection (SQLi)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Wordpress3 products
  • wordpress≥ 3.7, < 3.7.37 | ≥ 3.8, < 3.8.37 (fixed in 3.7.37) | ≥ 3.9, < 3.9.35 (fixed in 3.7.37) | ≥ 4.0, < 4.0.34 (fixed in 3.7.37) | ≥ 4.1, < 4.1.34 (fixed in 3.7.37) | ≥ 4.2, < 4.2.31 (fixed in 3.7.37) | ≥ 4.3, < 4.3.27 (fixed in 3.7.37) | ≥ 4.4, < 4.4.26 (fixed in 3.7.37) | ≥ 4.5, < 4.5.25 (fixed in 3.7.37) | ≥ 4.6, < 4.6.22 (fixed in 3.7.37) | ≥ 4.7, < 4.7.22 (fixed in 3.7.37) | ≥ 4.8, < 4.8.18 (fixed in 3.7.37) | ≥ 4.9, < 4.9.19 (fixed in 3.7.37) | ≥ 5.0, < 5.0.15 (fixed in 3.7.37) | ≥ 5.1, < 5.1.12 (fixed in 3.7.37) | ≥ 5.2, < 5.2.14 (fixed in 3.7.37) | ≥ 5.3, < 5.3.11 (fixed in 3.7.37) | ≥ 5.4, < 5.4.9 (fixed in 3.7.37) | ≥ 5.5, < 5.5.8 (fixed in 3.7.37) | ≥ 5.6, < 5.6.7 (fixed in 3.7.37) | ≥ 5.7, < 5.7.5 (fixed in 3.7.37) | ≥ 5.8, < 5.8.3 (fixed in 3.7.37)
  • wordpress≥ 3.7, < 3.7.37 | ≥ 3.8, < 3.8.37 | ≥ 3.9, < 3.9.35 | ≥ 4.0, < 4.0.34 | ≥ 4.1, < 4.1.34 | ≥ 4.2, < 4.2.31 | ≥ 4.3, < 4.3.27 | ≥ 4.4, < 4.4.26 | ≥ 4.5, < 4.5.25 | ≥ 4.6, < 4.6.22 | ≥ 4.7, < 4.7.22 | ≥ 4.8, < 4.8.18 | ≥ 4.9, < 4.9.19 | ≥ 5.0, < 5.0.15 | ≥ 5.1, < 5.1.12 | ≥ 5.2, < 5.2.14 | ≥ 5.3, < 5.3.11 | ≥ 5.4, < 5.4.9 | ≥ 5.5, < 5.5.8 | ≥ 5.6, < 5.6.7 | ≥ 5.7, < 5.7.5 | ≥ 5.8, < 5.8.3
  • wordpress-develop< 5.8.3
Debian2 products
Fedoraproject1 product
Ubuntu1 product
  • wordpressAll versions (No fix recorded)

4 vendors · 7 products

References

16 links
Show all 16 references