CVE-2022-3302
WordPress vulnerability analysis and mitigation

Overview

The Anti-Spam by CleanTalk WordPress plugin versions before 5.185.1 contains a SQL injection vulnerability identified as CVE-2022-3302. The vulnerability affects high-privilege users such as administrators and was publicly disclosed on October 3, 2022. The issue exists in the plugin's spam logs deletion functionality (WPScan).

Technical details

The vulnerability stems from improper validation of IDs before using them in SQL statements within the spam logs deletion feature. The issue is specifically located in the /edit-comments.php?page=ct_check_spam_logs endpoint. The vulnerability has been assigned a CVSS score of 6.8 (medium) and is classified under CWE-89 (SQL Injection). It falls 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 manipulation of the spamids[] parameter in the spam logs deletion functionality. This could potentially lead to unauthorized database access or manipulation (WPScan).

Exploitability

The vulnerability can be exploited by intercepting and modifying requests to the spam logs deletion endpoint. A proof of concept demonstrates that by changing the spamids[] parameter to include a malicious SQL payload, an attacker can execute SQL commands, such as causing delays through the SLEEP function (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 5.185.1 of the Anti-Spam by CleanTalk 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 WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18044NONEN/A
  • estatik
NoYesAug 12, 2026
CVE-2026-17008NONEN/A
  • quick-paypal-payments
NoNoAug 12, 2026
CVE-2026-16990NONEN/A
  • wp-paypal
NoNoAug 12, 2026
CVE-2026-16747NONEN/A
  • kirki
NoYesAug 12, 2026
CVE-2026-16621NONEN/A
  • woo-paypal-gateway
NoYesAug 12, 2026

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