Patchfirst
CVE-2022-21661 Public exploit High · 8.0 EPSS 97.8%

SQL injection in WordPress

WordPress · wordpress-develop

Summary

The SQL injection flaw lives in WordPress (wordpress-develop), where improper sanitization in the WP_Query component can allow SQL injection through plugins or themes that use it in a particular way. An attacker would need network access and high privileges, and exploitation depends on a plugin or theme that uses WP_Query in the affected manner, with no user interaction required.

Official description · CVE.org

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.

Breakdown
67.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 24 months after disclosure. Public exploit code (Exploit-DB) appeared 7 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codeExploit-DB+7 days
  3. First seen exploitedVulnCheck KEV evidence+24 mo

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

What security researchers reported

Not named in any threat report yet

References

11 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close