# CVE-2022-0254: Zero Spam < 5.2.11 - Admin+ SQL Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.03%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-14T14:41:26.000Z
- Modified: 2026-09-10T03:49:18.057Z
- Also known as: GHSA-pq2f-3fg3-rw99
- Weaknesses: CWE-89
- Assigned by: WPScan

## Description

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

(As written by CVE List.)

## Affected

- Unknown WordPress Zero Spam: from 5.2.11 before 5.2.11
- bmarshall511/wordpress_zero_spam (Packagist): before 5.2.13
- highfivery zero-spam: before 5.2.11

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/ae54681f-7b89-408c-b0ee-ba4a520db997> (exploit, third-party-advisory, web)
- <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://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)

## Sources

- CVE List: [CVE-2022-0254](https://www.cve.org/CVERecord?id=CVE-2022-0254), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-pq2f-3fg3-rw99](https://github.com/advisories/GHSA-pq2f-3fg3-rw99), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-0254](https://nvd.nist.gov/vuln/detail/CVE-2022-0254), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0254 · Whole record: https://cve.day/CVE-2022-0254.json · Rebuilt by cve.day 2026-11-25T22:58:10.084Z
