CVE & CISA-KEV Catalog

CVE-2022-21661

HIGHEPSS 100th pctl
8.0
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
wordpressDebian
Fixed in:5.7.5+dfsg1-0+deb11u1CVE-2022-21661
Fixed in:5.8.3+dfsg1-1CVE-2022-21661
Fixed in:5.8.3+dfsg1-1CVE-2022-21661
Fixed in:5.8.3+dfsg1-1CVE-2022-21661

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

97.80%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

References

Related Vulnerabilities

Other CWE-89 (SQL Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-3704High7.5100%-Fix
CVE-2015-7297High7.5100%--
CVE-2024-29824High8.8100%KEVFix
CVE-2023-34362Critical9.8100%KEV + RansomFix
CVE-2019-7481High7.5100%KEV + RansomFix
CVE-2024-29826High8.8100%-Fix
Embed a live status badge for CVE-2022-21661
CVE-2022-21661 severity badge

Markdown

[![CVE-2022-21661](https://tridentstack.com/cve/badge/CVE-2022-21661.svg)](https://tridentstack.com/cve/CVE-2022-21661)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-21661"><img src="https://tridentstack.com/cve/badge/CVE-2022-21661.svg" alt="CVE-2022-21661"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-08-19.