CVE-2022-21661
SQL injection in WordPress
02 Description
SQL injection in WordPress
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 97.79% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-01-06 22:50Z4 YR AGO
- Last updated
- 2024-09-09 14:13Z2 YR AGO
- Reserved
- 2021-11-16
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.0)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Base
- Data version
- 5.1
- Document digest
- e66362a9d4a8e19d00c0b1dfd0b48b945fa43f117b416a359aa02e916d0be061
05 Affected products
06 References
- github.comhttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84
- github.comhttps://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
- wordpress.orghttps://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/
- www.zerodayinitiative.comhttps://www.zerodayinitiative.com/advisories/ZDI-22-020/
- www.debian.orgDSA-5039https://www.debian.org/security/2022/dsa-5039
- www.exploit-db.comhttps://www.exploit-db.com/exploits/50663
- packetstormsecurity.comhttp://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html
- lists.fedoraproject.orgFEDORA-2022-8472dd59ffhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/
- lists.fedoraproject.orgFEDORA-2022-e37e1e6c7ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/
- lists.debian.org[debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security updatehttps://lists.debian.org/debian-lts-announce/2022/01/msg00019.html
- www.vicarius.iohttps://www.vicarius.io/vsociety/posts/understanding-the-wordpress-sql-injection-vulnerability-cve-2022-21661
07 Fixed in
Debian 12
- wordpress Fixed in 5.8.3+dfsg1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- wordpress Fixed in 5.8.3+dfsg1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- wordpress Fixed in 5.8.3+dfsg1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- wordpress No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- wordpress No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- wordpress No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.