highfivery/zero-spam-for-wordpress · Security
SQL Injection in WordPress Zero Spam WordPress plugin
- GHSA ID
- GHSA-pq2f-3fg3-rw99
- CVE ID
- CVE-2022-0254
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The WordPress Zero Spam WordPress plugin before 5.2.13 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
CWEs
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0254 ↗
- https://plugins.trac.wordpress.org/changeset/2660225 ↗
- https://plugins.trac.wordpress.org/changeset/2680906 ↗
- https://wpscan.com/vulnerability/ae54681f-7b89-408c-b0ee-ba4a520db997 ↗
- https://github.com/Highfivery/zero-spam-for-wordpress/commit/49723f696f1e2f2a76ac89375910bb036a4895f3 ↗
- https://github.com/advisories/GHSA-pq2f-3fg3-rw99 ↗