CVE-2022-21664
SQL injection in WordPress
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to lack of proper sanitization in one of the classes, there's potential for unintended SQL queries to be executed. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 4.1.34. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this issue.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.674% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.4 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Assessment source · checked 2026-11-19T10:45:44.952Z
CVSS 3.1 · 7.4 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Assessment source · checked 2026-11-19T14:19:19.919Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T10:45:44.952Z | CVE Program |
| epss | verified | 2026-11-19T16:04:32.376Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:19.919Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:45:44.952Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:44.952Z | CVE Program |
Affected versions and configuration
WordPress wordpress-develop; default status: unknown: >= 4.1.33, < 5.8.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "wordpress",
"debian": "https://tracker.debian.org/pkg/wordpress",
"source": "https://ubuntu.com/security/cve?package=wordpress",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=wordpress",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life",
"release_codename": "hirsute"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life",
"release_codename": "impish"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of standard support",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "5.8.3+dfsg1-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "kinetic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "lunar"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "mantic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "5.8.3+dfsg1-1ubuntu1",
"release_codename": "questing"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "WordPress",
"product": "wordpress-develop",
"versions": [
{
"status": "affected",
"version": ">= 4.1.33, < 5.8.3"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2022/dsa-5039",
"name": "DSA-5039",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/",
"name": "FEDORA-2022-8472dd59ff",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/",
"name": "FEDORA-2022-e37e1e6c7a",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html",
"name": "[debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security update",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T02:46:39.401Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-21664",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-23T14:12:29.196100Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-23T19:14:29.628Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | wordpress | Not a distribution channel | 5.8.3+dfsg1-1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:45:44.952ZArchived source JSON
Source publication: 2022-01-06T22:55:09.000Z
Source modification: 2025-04-23T19:14:29.628ZDocument fingerprint
2c424499d87ea9f87ddd6267583f441ba2650607b8b01f78856873bc78ef7241 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:19:19.919ZArchived source JSON
Source publication: 2022-01-06T23:15:00.000Z
Source modification: 2025-08-26T12:42:26.509ZDocument fingerprint
259ee8ca63e8e0c6b749e5b9da91662c1e5e5f4616a3eadb094336b1914028a7 - FIRST EPSSConsulted: 2026-11-19T16:04:32.376ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
4d5217b2483c05232e728ff4c4aeff80a4cc51c89af7da0c5fa02c307b37b851
Official status history
- UNKNOWN → PUBLISHED · · evidence