CVE-2022-21664
mediumpriority · track · 36EPSS 0.038 · 90 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- BIT-wordpress-2022-21664SQL injection in WordPress2024-03-06vendor · osvUS
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.
- BIT-wordpress-multisite-2022-21664SQL injection in WordPress2024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202201-461cnnvd
- EUVD-2022-26881enisa_euvd
- BIT-wordpress-2022-21664osv
- BIT-wordpress-multisite-2022-21664osv
- GHSA-jp3p-gw8h-6x86osv
sources
Which sources assert this record, and when.
references (24)
External citations — patches, advisories, analysis.
- https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957cnnvd
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86cnnvd
- https://lists.debian.org/debian-lts-announce/2022/01/msg00019.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/cnnvd
- https://packetstormsecurity.com/files/169199/Debian-Security-Advisory-5039-1.htmlcnnvd
- https://vigilance.fr/vulnerability/WordPress-Core-four-vulnerabilities-37188cnnvd
- https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan