CVE-2022-0254
CRITICAL 9.8CVSS 3.1SQL Injection in WordPress Zero Spam WordPress plugin
The WordPress Zero Spam WordPress plugin before 5.2.11 does not properly sanitise and escape the order and orderby parameters before using them in a SQL statement in the admin dashboard, leading to a SQL injection
- Published
- 14 Mar 2022
- Last modified
- 10 Sep 2026
- Assigned by
- contact@wpscan.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-pq2f-3fg3-rw99
- Sources
- NVDJSONOSV GHSA-pq2f-3fg3-rw99JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | highfivery | zero-spamcpe:2.3:a:highfivery:zero-spam:*:*:*:*:*:wordpress:*:* |
< 5.2.11 | 5.2.11 |
| OSV | Packagist | bmarshall511/wordpress_zero_spam | < 5.2.13 | 5.2.13 |
References
- https://plugins.trac.wordpress.org/changeset/2660225 · Patch, Third Party Advisory, WEB
- https://plugins.trac.wordpress.org/changeset/2680906 · Patch, Third Party Advisory, WEB
- https://wpscan.com/vulnerability/ae54681f-7b89-408c-b0ee-ba4a520db997 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0254 · ADVISORY
- https://github.com/Highfivery/zero-spam-for-wordpress/commit/49723f696f1e2f2a76ac89375910bb036a4895f3 · WEB
- https://github.com/Highfivery/zero-spam-for-wordpress · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Mar 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Mar 2022)