Skip to main content
CVE Radar
highInjectionpublic exploit

CVE-2022-21661

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.

Published Updated Sources: NVD, WordPress (CNA), GitHub, Exploit-DB, Red Hat (VEX), SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Reported

not confirmed by CISA

EPSS

98%

top of FIRST's scoreset

Affects

WordPress

wordpress-develop

CVSS base

7.5

high · 3 sources

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

PoC

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Remediation

The vendor's own words where we have them.

Upgrade Wordpress-develop to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

Red Hat VEX · CVE-2022-21661

fixed0affected0not affected1

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Prioritize based on EPSS, PoC availability, and external exposure.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
WordPresswordpress-develop< 5.8.3Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

None

Confidentiality

High

Integrity

None

Scope

Unchanged

Attack Complexity

Low

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
8.0CVSS 3.1high1.36GitHub (CNA), WordPress (CNA), Red Hat (VEX)
7.5CVSS 3.1high3.93.6NVD
5.0CVSS 2.0medium102.9NVD

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

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

  • Read Application Data
  • Bypass Protection Mechanism
  • Modify Application Data

Mitigation: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using persistence layers such as Hibernate or Enterprise Java Beans, which can provide significant protection against SQL injection if used properly.

Weakness & attack patterns

  • CWE-89SQL Injection

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

CAPEC-470 · Expanding Control over the Operating System from the DatabaseCAPEC-109 · Object Relational Mapping InjectionCAPEC-110 · SQL Injection through SOAP Parameter TamperingCAPEC-7 · Blind SQL InjectionCAPEC-108 · Command Line Execution through SQL InjectionCAPEC-66 · SQL Injection

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

PoC repos

46

1 of the 5 sampled are weaponized

Exploit entries

22

Exploit-DB and CTI exploit indexes

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Prioritize edge telemetry for network-reachable Wordpress-develop.
  • Monitor for scanner or exploit-pattern traffic after 68 public PoC repositories were reported.
web/proxy/WAF logsapplication logsnetwork IDS/IPSdatabase audit logs

Groups associated with this CVE

Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.

HAZY TIGER
  • hostnameweisvermthal.shop64

    Hole Cert · Jul 21, 2026

  • hostnamegtradeapp2.com71

    Hole Cert · Jul 21, 2026

  • ip188.143.232.129

    Zonefiles · Aug 26, 2020

  • hostname7649xwt.skin67

    Hole Cert · May 28, 2026

  • hostnamerodriguezhenry.shop62

    Hole Cert · May 31, 2026

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 7.5 (AV:N)

    Jun 17, 2026 · NVD

  3. 2025
  4. Cve is exploited Fauzan-Aldi/CVE-2022-21661

    May 13, 2025 · SOCRadar CTI

  5. 2024
  6. CVE is exploited. "w0r1i0g1ht/CVE-2022-21661"

    Nov 12, 2024 · SOCRadar CTI

  7. CVE is exploited. "NaInSec/CVE-PoC-in-GitHub"

    Mar 31, 2024 · SOCRadar CTI

  8. CVE is exploited. "safe3s/CVE-2022-21661"

    Mar 31, 2024 · SOCRadar CTI

  9. CVE is exploited. "k0mi-tg/CVE-POC"

    Feb 2, 2024 · SOCRadar CTI

  10. 2023
  11. CVE is exploited. "ARPSyndicate/cvemon"

    Dec 14, 2023 · SOCRadar CTI

  12. CVE is exploited. "ArrestX/--POC"

    Dec 14, 2023 · SOCRadar CTI

  13. CVE is exploited. "KayCHENvip/vulnerability-poc"

    Dec 14, 2023 · SOCRadar CTI

  14. CVE is exploited. "Miraitowa70/POC-Notes"

    Dec 14, 2023 · SOCRadar CTI

  15. CVE is exploited. "Threekiii/Awesome-POC"

    Dec 14, 2023 · SOCRadar CTI

  16. CVE is exploited. "WhooAmii/POC_to_review"

    Dec 14, 2023 · SOCRadar CTI

  17. CVE is exploited. "binganao/vulns-2022"

    Dec 14, 2023 · SOCRadar CTI

  18. CVE is exploited. "manas3c/CVE-POC"

    Dec 14, 2023 · SOCRadar CTI

  19. CVE is exploited. "nomi-sec/PoC-in-GitHub"

    Dec 14, 2023 · SOCRadar CTI

  20. CVE is exploited. "soosmile/POC"

    Dec 14, 2023 · SOCRadar CTI

  21. CVE is exploited. "xinyisleep/pocscan"

    Dec 14, 2023 · SOCRadar CTI

  22. CVE is exploited. "sealldeveloper/CVE-2022-21661-PoC"

    Apr 27, 2023 · SOCRadar CTI

  23. 2022
  24. Added · webapps entry: WordPress Core 5.8.2 - 'WP_Query' SQL Injection (SQLi)

    Jan 13, 2022 · Exploit-DB

  25. Initial · CVE published

    Jan 6, 2022 · NVD

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 14×Github ReposApr 27, 2023 – Mar 1, 2026 · SOCRadar CTI
  • 8×SVRS was changedApr 10, 2023 – Mar 16, 2026 · SOCRadar CTI
  • 1×CVE modified by MITRE: CVSS metrics updated.Aug 19, 2025 · SOCRadar CTI

References

15 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2022-21661 is SQL injection in WordPress, a high vulnerability affecting Wordpress-develop from WordPress. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 68 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.5 describes technical severity, while EPSS 98% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.