CVE-2022-28221: Reflected XSS in CleanTalk AntiSpam WordPress Plugin <= 5.173
- Vendor
- Cleantalk
A reflected cross-site scripting (XSS) vulnerability exists in the CleanTalk AntiSpam plugin for WordPress versions up to and including 5.173. The vulnerability is due to insufficient sanitization of the 'page' parameter in requests to /lib/Cleantalk/ApbctWP/FindSpam/ListTable/Comments.php, allowing an attacker to inject arbitrary JavaScript code that is executed in the context of the victim's browser.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated WordPress user who visits a crafted URL, potentially leading to session hijacking, credential theft, or other malicious actions within the user's session.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the vulnerable endpoint to trusted users only, and employ web application firewalls (WAFs) with XSS filtering capabilities as a temporary measure until the plugin is updated.
Remediation
Patch, then assume compromise.
Upgrade the CleanTalk AntiSpam plugin to a version later than 5.173 where this vulnerability has been patched. Ensure all user-supplied input is properly sanitized and escaped before being rendered in the browser.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-28221 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-28221?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2022-28221.
- Is there a patch for CVE-2022-28221?
- Upgrade the CleanTalk AntiSpam plugin to a version later than 5.173 where this vulnerability has been patched. Ensure all user-supplied input is properly sanitized and escaped before being rendered in the browser.
- What products are affected by CVE-2022-28221?
- Cleantalk Anti-Spam.
- How severe is CVE-2022-28221?
- CVE-2022-28221 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 2.4% (84th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.