← All CVEs

CVE-2022-21661

high · 8

A public exploit / detection template exists

Weaponised detection is publicly available, which meaningfully raises real-world risk regardless of CVSS. nuclei-templates

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.

8
CVSS
97.8%
EPSS (exploit prob.)
100th
EPSS percentile
2022-01-06
Published

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

Weaknesses

CWE-89

Affected products

VendorProductAffected versions
wordpresswordpress>= 3.7, < 3.7.37
wordpresswordpress>= 3.8, < 3.8.37
wordpresswordpress>= 3.9, < 3.9.35
wordpresswordpress>= 4.0, < 4.0.34
wordpresswordpress>= 4.1, < 4.1.34
wordpresswordpress>= 4.2, < 4.2.31
wordpresswordpress>= 4.3, < 4.3.27
wordpresswordpress>= 4.4, < 4.4.26
wordpresswordpress>= 4.5, < 4.5.25
wordpresswordpress>= 4.6, < 4.6.22
wordpresswordpress>= 4.7, < 4.7.22
wordpresswordpress>= 4.8, < 4.8.18
wordpresswordpress>= 4.9, < 4.9.19
wordpresswordpress>= 5.0, < 5.0.15
wordpresswordpress>= 5.1, < 5.1.12
wordpresswordpress>= 5.2, < 5.2.14
wordpresswordpress>= 5.3, < 5.3.11
wordpresswordpress>= 5.4, < 5.4.9
wordpresswordpress>= 5.5, < 5.5.8
wordpresswordpress>= 5.6, < 5.6.7
wordpresswordpress>= 5.7, < 5.7.5
wordpresswordpress>= 5.8, < 5.8.3
fedoraprojectfedora34
fedoraprojectfedora35
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2022-21661