Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-103424 Overview
CVE-2026-103424 is a Stored Cross-Site Scripting (XSS) vulnerability in the Anti-Spam by CleanTalk – Spam Protection Without CAPTCHA plugin for WordPress. All versions up to and including 6.88 fail to properly sanitize input or escape output in the comment parameter. Unauthenticated attackers can inject arbitrary JavaScript that executes in the browser of any visitor who loads an affected page. Exploitation requires a comment from the attacker's email address to be approved first. On default WordPress installations, only the first comment from an email address is held for moderation, so subsequent comments auto-approve and deliver the payload to site visitors. The weakness is tracked as [CWE-79].
Critical Impact
Unauthenticated attackers can store JavaScript payloads that execute in visitors' browsers, enabling session theft, redirection, and defacement on affected WordPress sites.
Affected Products
- Anti-Spam by CleanTalk – Spam Protection Without CAPTCHA plugin for WordPress
- All versions up to and including 6.88
- WordPress sites running default comment moderation settings
Discovery Timeline
- 2026-10-10 - CVE-2026-103424 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-103424
Vulnerability Analysis
The plugin processes incoming comment data without applying sufficient input sanitization or output escaping. When a comment containing active script content is stored and later rendered, the browser executes the script in the context of the hosting site. Because the injection persists in the database, every subsequent view of the affected page triggers the payload. The attack vector is network-based and requires no authentication, though it does require that a prior comment from the attacker's email address was approved by a site administrator.
Root Cause
The root cause is improper neutralization of input during web page generation in the handling of the comment parameter. Code paths referenced in the WordPress plugin repository, including cleantalk.php and the ContactsEncoder class under lib/Cleantalk/ApbctWP/ContactsEncoder/ and lib/Cleantalk/Common/ContactsEncoder/, do not consistently escape untrusted characters before storage or rendering. Script content embedded in comment bodies therefore survives processing intact.
Attack Vector
An attacker submits a benign first comment using a chosen email address and waits for the administrator to approve it. Once approved, WordPress auto-approves subsequent comments from that same email address on default installations. The attacker then submits a comment containing a crafted script payload in the comment field. The payload is stored and rendered to every visitor loading the comment thread, executing in the visitor's browser session.
The vulnerability mechanism is described in the Wordfence Vulnerability Report and in the WordPress Plugin Code Review.
Detection Methods for CVE-2026-103424
Indicators of Compromise
- Stored comments containing <script> tags, onerror=, onload=, or javascript: URIs in the comment body
- Approved comments whose rendered HTML includes unexpected inline event handlers or external script sources
- Outbound requests from visitor browsers to attacker-controlled domains correlating with page views of comment threads
- WordPress wp_comments table rows with HTML entities or encoded script fragments in the comment_content column
Detection Strategies
- Query the wp_comments table for approved comments containing HTML tags, event handler attributes, or encoded script markers
- Monitor web server logs for POST requests to /wp-comments-post.php with payloads containing script-like content
- Deploy a web application firewall rule to flag comment submissions carrying executable HTML or JavaScript
- Review the installed version of the Anti-Spam by CleanTalk plugin and flag any instance at version 6.88 or earlier
Monitoring Recommendations
- Enable logging of comment submissions and approval actions in WordPress audit plugins
- Alert on new comments from email addresses whose first comment was recently approved
- Monitor Content Security Policy violation reports for inline script execution originating from comment threads
- Track plugin version inventory across managed WordPress sites to identify unpatched installations
How to Mitigate CVE-2026-103424
Immediate Actions Required
- Update the Anti-Spam by CleanTalk plugin to a version later than 6.88 as soon as a patched release is available
- Audit existing approved comments for stored script payloads and remove or sanitize affected rows
- Review the comment moderation queue and revoke approvals for suspicious entries
- Rotate administrator session cookies and credentials if evidence of exploitation is identified
Patch Information
No fixed version is identified in the referenced advisory data at the time of publication. Monitor the Wordfence Vulnerability Report and the WordPress plugin repository for a vendor update beyond version 6.88.
Workarounds
- Configure WordPress to require manual approval for every comment by disabling the "Comment author must have a previously approved comment" setting under Settings → Discussion
- Deploy a Content Security Policy that disallows inline script execution on pages that render comments
- Restrict comment rendering with a web application firewall rule that strips HTML tags from the comment parameter
- Temporarily disable the Anti-Spam by CleanTalk plugin and substitute an alternative spam filter until a patched release is available
# Configuration example: disable auto-approval of subsequent comments
wp option update comment_whitelist 0
wp option update comment_moderation 1
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

