{"schemaVersion":4,"id":"CVE-2022-21661","aliases":["UBUNTU-CVE-2022-21661","DEBIAN-CVE-2022-21661"],"status":"published","duplicateOf":null,"title":"SQL injection in WordPress","description":"WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that use it in a certain way. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 3.7.37. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this vulnerability.","dates":{"published":"2022-01-06T22:50:11.000Z","modified":"2024-09-09T14:13:15.875Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.97795,"percentile":0.99904,"severity":"critical","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.97795},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.97795,"percentile":0.99904}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.97795,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.97795,"percentile":0.99904}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0E09FD5B87ADC28F","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_A65057A9B9AE35C1","name":"Exploit Reference (vicarius.io)","source":"reference","url":"https://www.vicarius.io/vsociety/posts/understanding-the-wordpress-sql-injection-vulnerability-cve-2022-21661","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50663","name":"WordPress Core 5.8.2 - 'WP_Query' SQL Injection (SQLi)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50663","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/50663.txt","codes":["CVE-2022-21661"]},"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"debian","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wordpress","purlType":"deb","versions":[{"text":"< 5.8.3+dfsg1-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.8.3+dfsg1-1","endInclusive":false}}],"versionsText":"< 5.8.3+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wordpress","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"9.0"}},{"text":"10.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"10.0"}},{"text":"11.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"11.0"}}],"versionsText":"9.0 | 10.0 | 11.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"34"}},{"text":"35","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"35"}}],"versionsText":"34 | 35","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"wordpress","product":"wordpress","name":"WordPress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.7, < 3.7.37","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"3.7","startInclusive":true,"end":"3.7.37","endInclusive":false}},{"text":"≥ 3.8, < 3.8.37 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"3.8","startInclusive":true,"end":"3.8.37","endInclusive":false}},{"text":"≥ 3.9, < 3.9.35 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"3.9","startInclusive":true,"end":"3.9.35","endInclusive":false}},{"text":"≥ 4.0, < 4.0.34 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.0","startInclusive":true,"end":"4.0.34","endInclusive":false}},{"text":"≥ 4.1, < 4.1.34 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.1","startInclusive":true,"end":"4.1.34","endInclusive":false}},{"text":"≥ 4.2, < 4.2.31 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.2","startInclusive":true,"end":"4.2.31","endInclusive":false}},{"text":"≥ 4.3, < 4.3.27 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.3","startInclusive":true,"end":"4.3.27","endInclusive":false}},{"text":"≥ 4.4, < 4.4.26 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.4","startInclusive":true,"end":"4.4.26","endInclusive":false}},{"text":"≥ 4.5, < 4.5.25 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.5","startInclusive":true,"end":"4.5.25","endInclusive":false}},{"text":"≥ 4.6, < 4.6.22 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.6","startInclusive":true,"end":"4.6.22","endInclusive":false}},{"text":"≥ 4.7, < 4.7.22 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.7","startInclusive":true,"end":"4.7.22","endInclusive":false}},{"text":"≥ 4.8, < 4.8.18 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.8","startInclusive":true,"end":"4.8.18","endInclusive":false}},{"text":"≥ 4.9, < 4.9.19 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"4.9","startInclusive":true,"end":"4.9.19","endInclusive":false}},{"text":"≥ 5.0, < 5.0.15 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.0","startInclusive":true,"end":"5.0.15","endInclusive":false}},{"text":"≥ 5.1, < 5.1.12 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.1","startInclusive":true,"end":"5.1.12","endInclusive":false}},{"text":"≥ 5.2, < 5.2.14 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.2","startInclusive":true,"end":"5.2.14","endInclusive":false}},{"text":"≥ 5.3, < 5.3.11 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.3","startInclusive":true,"end":"5.3.11","endInclusive":false}},{"text":"≥ 5.4, < 5.4.9 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.4","startInclusive":true,"end":"5.4.9","endInclusive":false}},{"text":"≥ 5.5, < 5.5.8 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.5","startInclusive":true,"end":"5.5.8","endInclusive":false}},{"text":"≥ 5.6, < 5.6.7 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.6","startInclusive":true,"end":"5.6.7","endInclusive":false}},{"text":"≥ 5.7, < 5.7.5 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.7","startInclusive":true,"end":"5.7.5","endInclusive":false}},{"text":"≥ 5.8, < 5.8.3 (fixed in 3.7.37)","noFixRecorded":false,"fixedIn":"3.7.37","bounds":{"kind":"range","start":"5.8","startInclusive":true,"end":"5.8.3","endInclusive":false}}],"versionsText":"≥ 3.7, < 3.7.37 | ≥ 3.8, < 3.8.37 (fixed in 3.7.37) | ≥ 3.9, < 3.9.35 (fixed in 3.7.37) | ≥ 4.0, < 4.0.34 (fixed in 3.7.37) | ≥ 4.1, < 4.1.34 (fixed in 3.7.37) | ≥ 4.2, < 4.2.31 (fixed in 3.7.37) | ≥ 4.3, < 4.3.27 (fixed in 3.7.37) | ≥ 4.4, < 4.4.26 (fixed in 3.7.37) | ≥ 4.5, < 4.5.25 (fixed in 3.7.37) | ≥ 4.6, < 4.6.22 (fixed in 3.7.37) | ≥ 4.7, < 4.7.22 (fixed in 3.7.37) | ≥ 4.8, < 4.8.18 (fixed in 3.7.37) | ≥ 4.9, < 4.9.19 (fixed in 3.7.37) | ≥ 5.0, < 5.0.15 (fixed in 3.7.37) | ≥ 5.1, < 5.1.12 (fixed in 3.7.37) | ≥ 5.2, < 5.2.14 (fixed in 3.7.37) | ≥ 5.3, < 5.3.11 (fixed in 3.7.37) | ≥ 5.4, < 5.4.9 (fixed in 3.7.37) | ≥ 5.5, < 5.5.8 (fixed in 3.7.37) | ≥ 5.6, < 5.6.7 (fixed in 3.7.37) | ≥ 5.7, < 5.7.5 (fixed in 3.7.37) | ≥ 5.8, < 5.8.3 (fixed in 3.7.37)","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":null},{"vendor":"wordpress","product":"wordpress","name":"wordpress","label":"wordpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.7, < 3.7.37","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.7","startInclusive":true,"end":"3.7.37","endInclusive":false}},{"text":"≥ 3.8, < 3.8.37","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.8","startInclusive":true,"end":"3.8.37","endInclusive":false}},{"text":"≥ 3.9, < 3.9.35","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.9","startInclusive":true,"end":"3.9.35","endInclusive":false}},{"text":"≥ 4.0, < 4.0.34","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0","startInclusive":true,"end":"4.0.34","endInclusive":false}},{"text":"≥ 4.1, < 4.1.34","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1","startInclusive":true,"end":"4.1.34","endInclusive":false}},{"text":"≥ 4.2, < 4.2.31","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.2","startInclusive":true,"end":"4.2.31","endInclusive":false}},{"text":"≥ 4.3, < 4.3.27","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.3","startInclusive":true,"end":"4.3.27","endInclusive":false}},{"text":"≥ 4.4, < 4.4.26","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.4","startInclusive":true,"end":"4.4.26","endInclusive":false}},{"text":"≥ 4.5, < 4.5.25","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.5","startInclusive":true,"end":"4.5.25","endInclusive":false}},{"text":"≥ 4.6, < 4.6.22","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.6","startInclusive":true,"end":"4.6.22","endInclusive":false}},{"text":"≥ 4.7, < 4.7.22","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.7","startInclusive":true,"end":"4.7.22","endInclusive":false}},{"text":"≥ 4.8, < 4.8.18","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.8","startInclusive":true,"end":"4.8.18","endInclusive":false}},{"text":"≥ 4.9, < 4.9.19","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.9","startInclusive":true,"end":"4.9.19","endInclusive":false}},{"text":"≥ 5.0, < 5.0.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0","startInclusive":true,"end":"5.0.15","endInclusive":false}},{"text":"≥ 5.1, < 5.1.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.1","startInclusive":true,"end":"5.1.12","endInclusive":false}},{"text":"≥ 5.2, < 5.2.14","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.2","startInclusive":true,"end":"5.2.14","endInclusive":false}},{"text":"≥ 5.3, < 5.3.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.3","startInclusive":true,"end":"5.3.11","endInclusive":false}},{"text":"≥ 5.4, < 5.4.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.4","startInclusive":true,"end":"5.4.9","endInclusive":false}},{"text":"≥ 5.5, < 5.5.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.5","startInclusive":true,"end":"5.5.8","endInclusive":false}},{"text":"≥ 5.6, < 5.6.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.6","startInclusive":true,"end":"5.6.7","endInclusive":false}},{"text":"≥ 5.7, < 5.7.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.7","startInclusive":true,"end":"5.7.5","endInclusive":false}},{"text":"≥ 5.8, < 5.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.8","startInclusive":true,"end":"5.8.3","endInclusive":false}}],"versionsText":"≥ 3.7, < 3.7.37 | ≥ 3.8, < 3.8.37 | ≥ 3.9, < 3.9.35 | ≥ 4.0, < 4.0.34 | ≥ 4.1, < 4.1.34 | ≥ 4.2, < 4.2.31 | ≥ 4.3, < 4.3.27 | ≥ 4.4, < 4.4.26 | ≥ 4.5, < 4.5.25 | ≥ 4.6, < 4.6.22 | ≥ 4.7, < 4.7.22 | ≥ 4.8, < 4.8.18 | ≥ 4.9, < 4.9.19 | ≥ 5.0, < 5.0.15 | ≥ 5.1, < 5.1.12 | ≥ 5.2, < 5.2.14 | ≥ 5.3, < 5.3.11 | ≥ 5.4, < 5.4.9 | ≥ 5.5, < 5.5.8 | ≥ 5.6, < 5.6.7 | ≥ 5.7, < 5.7.5 | ≥ 5.8, < 5.8.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wordpress","label":"WordPress","category":"server-app"}},"hubHref":"/vendor/wordpress/wordpress"},{"vendor":"wordpress","product":"wordpress-develop","name":"wordpress-develop","label":"wordpress-develop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.8.3","endInclusive":false}}],"versionsText":"< 5.8.3","eol":null,"hubHref":"/vendor/wordpress/wordpress-develop"}],"affectedCount":7,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84","label":"github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214","label":"github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","label":"wordpress.org/news/2022/01/wordpress-5-8-3-security-release/","hostname":"wordpress.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-020/","label":"www.zerodayinitiative.com/advisories/ZDI-22-020/","hostname":"www.zerodayinitiative.com","tags":["X Refsource MISC","REPORT","Third Party Advisory","VDB Entry"]},{"url":"https://www.debian.org/security/2022/dsa-5039","label":"www.debian.org/security/2022/dsa-5039","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","REPORT","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/50663","label":"www.exploit-db.com/exploits/50663","hostname":"www.exploit-db.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html","label":"packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html","label":"lists.debian.org/debian-lts-announce/2022/01/msg00019.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/understanding-the-wordpress-sql-injection-vulnerability-cve-2022-21661","label":"www.vicarius.io/vsociety/…","hostname":"www.vicarius.io","tags":["Exploit","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-21661","label":"ubuntu.com/security/CVE-2022-21661","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://hackerone.com/reports/1378209","label":"hackerone.com/reports/1378209","hostname":"hackerone.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21661","label":"www.cve.org/CVERecord?id=CVE-2022-21661","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-21661","label":"security-tracker.debian.org/tracker/CVE-2022-21661","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b0ef885f-fd62-4513-83cb-65381b99a172","label":"www.wordfence.com/threat-intel/vulnerabilities/id/b0ef885f-fd62-4513-83cb-65381b99a172","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2884-1","DSA-5039-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-01-06T22:50:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-09T14:13:15.875Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (exploit-database, 13-01-2022)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,98,80],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.97795,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-09T14:13:15.875Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2024-09-09T14:13:15.875Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2024-09-09T14:13:15.875Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-09T14:13:15.875Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-09T14:13:15.875Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},{"type":"cvss","source":"wordfence","date":"2024-09-09T14:13:15.875Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-09-09T14:12:39.836Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"exploit-database","date":"2022-01-13T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.97795,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:24:37.061Z","stale":false,"partial":false}}