Skip to main content
← All vulnerabilities
CVE-2022-21661

SQL injection in WordPress

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.8.3
1 on Exploit-DB, 13 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-50663

  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • WordPress wordpress-develop

    fixed in 5.8.3

References 24

GitHub · WordPress/wordpress-develop

wordpress.org

zerodayinitiative.com

debian.org

Exploit-DB

packetstormsecurity.com

lists.fedoraproject.org

lists.debian.org

GitHub · projectdiscovery/nuclei-templates

GitHub · 0x4E0x650x6F/Wordpress-cve-CVE-2022-21661

GitHub · 7rootsec/CVE-2022-21661-Technical-Analysis

GitHub · CharonDefalt/WordPress--CVE-2022-21661

GitHub · Fauzan-Aldi/CVE-2022-21661

GitHub · WellingtonEspindula/SSI-CVE-2022-21661

GitHub · daniel616/CVE-2022-21661-Demo

GitHub · guestzz/CVE-2022-21661

GitHub · p4ncontomat3/CVE-2022-21661

GitHub · purple-WL/wordpress-CVE-2022-21661

GitHub · safe3s/CVE-2022-21661

GitHub · sealldeveloper/CVE-2022-21661-PoC

GitHub · w0r1i0g1ht/CVE-2022-21661

GitHub · z92g/CVE-2022-21661