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.
An official patch is available. Apply the patch as soon as possible.
CVSS v4.0 Metrics
Exploitability
Attack VectorNetwork
ComplexityHigh
RequirementsPresent
PrivilegesHigh
User InteractionNone
Threat
Exploit MaturityPoC
Vulnerable System
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Subsequent System
ConfidentialityNone
IntegrityNone
AvailabilityNone
Supplemental
SafetyNegligible
AutomatableYes
RecoveryAutomatic
Value DensityConcentrated
UrgencyMedium
Patch StatusOfficial Patch
Change Log
| Date | Source | Changes | Score |
|---|
| 2026-07-21 | exploitdb | E: U→P | 4.8 → 6.6 |
| 2026-07-21 | nvd | patch: Unavailable→Official Patch | 4.8 → 4.8 |
| 2026-07-21 | cve.org | initial, patch: Unavailable | 4.8 |
Affected Software
| Vendor | Product | Version |
|---|
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| debian | debian_linux | 9.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| wordpress | wordpress | ≥ 5.8, < 5.8.3 |
| wordpress | wordpress | ≥ 3.7, < 3.7.37 |
| wordpress | wordpress | ≥ 4.8, < 4.8.18 |
| wordpress | wordpress | ≥ 3.8, < 3.8.37 |
| wordpress | wordpress | ≥ 4.9, < 4.9.19 |
| wordpress | wordpress | ≥ 3.9, < 3.9.35 |
| wordpress | wordpress | ≥ 5.0, < 5.0.15 |
| wordpress | wordpress | ≥ 4.0, < 4.0.34 |
| wordpress | wordpress | ≥ 5.1, < 5.1.12 |
| wordpress | wordpress | ≥ 4.1, < 4.1.34 |
| wordpress | wordpress | ≥ 5.2, < 5.2.14 |
| wordpress | wordpress | ≥ 4.2, < 4.2.31 |
| wordpress | wordpress | ≥ 5.3, < 5.3.11 |
| wordpress | wordpress | ≥ 4.3, < 4.3.27 |
| wordpress | wordpress | ≥ 5.4, < 5.4.9 |
| wordpress | wordpress | ≥ 4.4, < 4.4.26 |
| wordpress | wordpress | ≥ 5.5, < 5.5.8 |
| wordpress | wordpress | ≥ 4.5, < 4.5.25 |
| wordpress | wordpress | ≥ 5.6, < 5.6.7 |
| wordpress | wordpress | ≥ 4.6, < 4.6.22 |
| wordpress | wordpress | ≥ 5.7, < 5.7.5 |
| wordpress | wordpress | ≥ 4.7, < 4.7.22 |
| WordPress | wordpress-develop | < 5.8.3 |
Published: 2022-01-06