CVE-2022-0254
PHP vulnerability analysis and mitigation

Overview

CVE-2022-0254 affects the WordPress Zero Spam plugin versions before 5.2.11. The vulnerability was discovered by ZhongFu Su(JrXnm) of Wuhan University and was publicly disclosed on February 18, 2022 (WPScan).

Technical details

The vulnerability is a SQL injection issue that occurs because the plugin does not properly sanitize and escape the 'order' and 'orderby' parameters before using them in SQL statements in the admin dashboard. The vulnerability has been assigned a CVSS score of 6.8 (medium) and is classified as CWE-89, falling under the OWASP Top 10 category A1: Injection (WPScan).

Impact

When exploited, this vulnerability could allow authenticated administrators to perform SQL injection attacks through the WordPress admin dashboard. This could potentially lead to unauthorized access to or manipulation of the database (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 5.2.11 of the WordPress Zero Spam plugin. Users are advised to update to this version or later to mitigate the risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management