CVEMETERBack to radar
OFFICIAL RECORD · WordPress

CVE-2022-21664

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.4 · high

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_M
CVSS: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 Security
CVSS: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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T10:45:44.952ZCVE Program
epssverified2026-11-19T16:04:32.376ZFIRST EPSS
patchesverified2026-11-19T14:19:19.919ZUbuntu Security
affectedverified2026-11-19T10:45:44.952ZCVE Program
lifecycleverified2026-11-19T10:45:44.952ZCVE 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&section=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 JSON
CVE 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamwordpressNot a distribution channel5.8.3+dfsg1-1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history