CVE-2022-21661

published 6 Jan 2022 · updated 9 Sep 2024

SQL injection in WordPress

10.0CriticalCVSS 8.0EPSS 98%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 98%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WordPressWordPress<5.8.3

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WordPress, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21661 severity on Zeptric[![CVE-2022-21661](https://zeptric.io/badge/cve/CVE-2022-21661.svg)](https://zeptric.io/cve/CVE-2022-21661)