{"api_version":"1","generated_at":"2026-07-23T20:18:52+00:00","cve":"CVE-2022-21664","urls":{"html":"https://cve.report/CVE-2022-21664","api":"https://cve.report/api/cve/CVE-2022-21664.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21664","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21664"},"summary":{"title":"CVE-2022-21664","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-01-06 23:15:00","updated_at":"2023-11-07 03:43:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/","name":"FEDORA-2022-8472dd59ff","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: wordpress-5.8.3-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html","name":"[debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2884-1] wordpress security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/","name":"FEDORA-2022-e37e1e6c7a","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: wordpress-5.8.3-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5039","name":"DSA-5039","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5039-1 wordpress","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86","name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86","refsource":"CONFIRM","tags":[],"title":"WordPress: SQL injection due to improper sanitization in WP_Meta_Query · Advisory · WordPress/wordpress-develop · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","name":"https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","refsource":"MISC","tags":[],"title":"News – WordPress 5.8.3 Security Release – WordPress.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/","name":"FEDORA-2022-e37e1e6c7a","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: wordpress-5.8.3-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/","name":"FEDORA-2022-8472dd59ff","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: wordpress-5.8.3-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957","name":"https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957","refsource":"MISC","tags":[],"title":"Query: Improve sanitization within `WP_Meta_Query`. · WordPress/wordpress-develop@c09ccfb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21664","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21664","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21664","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wordpress","cpe5":"wordpress","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-21664","qid":"150455","title":"WordPress SQL Injection Vulnerability: Security Update 5.8.3 (CVE-2022-21664)"},{"cve":"CVE-2022-21664","qid":"178992","title":"Debian Security Update for wordpress (DSA 5039-1)"},{"cve":"CVE-2022-21664","qid":"179020","title":"Debian Security Update for wordpress (DLA 2884-1)"},{"cve":"CVE-2022-21664","qid":"184540","title":"Debian Security Update for wordpress (CVE-2022-21664)"},{"cve":"CVE-2022-21664","qid":"282249","title":"Fedora Security Update for wordpress (FEDORA-2022-e37e1e6c7a)"},{"cve":"CVE-2022-21664","qid":"282250","title":"Fedora Security Update for wordpress (FEDORA-2022-8472dd59ff)"},{"cve":"CVE-2022-21664","qid":"730330","title":"WordPress Multiple Security Vulnerabilities (prior to 5.8.3)"},{"cve":"CVE-2022-21664","qid":"730333","title":"WordPress Prior to 4.1.34 and 5.8.3 SQL Injection Vulnerability"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-21664","STATE":"PUBLIC","TITLE":"SQL injection in WordPress"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"wordpress-develop","version":{"version_data":[{"version_value":">= 4.1.33, < 5.8.3"}]}}]},"vendor_name":"WordPress"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"}]}]},"references":{"reference_data":[{"name":"https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","refsource":"MISC","url":"https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/"},{"name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86","refsource":"CONFIRM","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86"},{"name":"https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957","refsource":"MISC","url":"https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957"},{"refsource":"DEBIAN","name":"DSA-5039","url":"https://www.debian.org/security/2022/dsa-5039"},{"refsource":"FEDORA","name":"FEDORA-2022-8472dd59ff","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/"},{"refsource":"FEDORA","name":"FEDORA-2022-e37e1e6c7a","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security update","url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html"}]},"source":{"advisory":"GHSA-jp3p-gw8h-6x86","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-01-06 23:15:00","lastModifiedDate":"2023-11-07 03:43:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","versionEndExcluding":"5.8.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"21664","Ordinal":"221488","Title":"CVE-2022-21664","CVE":"CVE-2022-21664","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"21664","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2022","CveId":"21664","Ordinal":"2","NoteData":"2022-01-06","Type":"Other","Title":"Published"},{"CveYear":"2022","CveId":"21664","Ordinal":"3","NoteData":"2022-01-23","Type":"Other","Title":"Modified"}]}}}