{"id":"GHSA-pq2f-3fg3-rw99","summary":"SQL Injection in WordPress Zero Spam WordPress plugin","details":"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","aliases":["CVE-2022-0254"],"modified":"2026-09-10T03:49:18.057054089Z","published":"2022-03-15T00:00:57Z","database_specific":{"github_reviewed_at":"2022-03-29T15:26:17Z","nvd_published_at":"2022-03-14T15:15:00Z","cwe_ids":["CWE-89"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0254"},{"type":"WEB","url":"https://github.com/Highfivery/zero-spam-for-wordpress/commit/49723f696f1e2f2a76ac89375910bb036a4895f3"},{"type":"PACKAGE","url":"https://github.com/Highfivery/zero-spam-for-wordpress"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/2660225"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/2680906"},{"type":"WEB","url":"https://wpscan.com/vulnerability/ae54681f-7b89-408c-b0ee-ba4a520db997"}],"affected":[{"package":{"name":"bmarshall511/wordpress_zero_spam","ecosystem":"Packagist","purl":"pkg:composer/bmarshall511/wordpress_zero_spam"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-pq2f-3fg3-rw99/GHSA-pq2f-3fg3-rw99.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}