CVE-2022-0254: SQL Injection in WordPress Zero Spam WordPress plugin

critical Affects bmarshall511/wordpress_zero_spam, zero-spam (WordPress plugin). Feed 2026.10.29.3, updated 2026-10-29; published ; advisory modified .

SQL Injection in WordPress Zero Spam WordPress plugin

Package
bmarshall511/wordpress_zero_spam Composer
Affected versions
<5.2.13
Fixed in
5.2.13
Severity
critical  CVSS 9.8
Exploitation
not on CISA KEV · EPSS 2% (81.0th percentile)
Published
2022-03-15
Source
osv.dev

References

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

Package
zero-spam (WordPress plugin) WordPress
Affected versions
<5.2.11
Fixed in
5.2.11
Severity
critical  CVSS 9.8
Exploitation
not on CISA KEV · EPSS 2% (81.0th percentile)
Published
2022-03-14
Source
nvd

References

CWE-89
NVD recordbmarshall511/wordpress_zero_spam advisorieszero-spam (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories