Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. bmarshall511/wordpress_zero_spam
  4. ›
  5. CVE-2022-0254

CVE-2022-0254: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

March 15, 2022 (updated March 29, 2022)

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

References

  • github.com/Highfivery/zero-spam-for-wordpress/commit/49723f696f1e2f2a76ac89375910bb036a4895f3
  • github.com/advisories/GHSA-pq2f-3fg3-rw99
  • nvd.nist.gov/vuln/detail/CVE-2022-0254
  • plugins.trac.wordpress.org/changeset/2660225
  • plugins.trac.wordpress.org/changeset/2680906
  • wpscan.com/vulnerability/ae54681f-7b89-408c-b0ee-ba4a520db997

Code Behaviors & Features

Detect and mitigate CVE-2022-0254 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.2.13

Fixed versions

  • 5.2.13

Solution

Upgrade to version 5.2.13 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/bmarshall511/wordpress_zero_spam/CVE-2022-0254.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.