Anti-Spam by CleanTalk <= 6.88 - Unauthenticated Stored Cross-Site Scripting via Comment Content via ContactsEncoder Greedy Regex
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Anti-Spam by CleanTalk – Spam Protection Without CAPTCHA plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 6.88 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This vulnerability is exploitable once a comment from the attacker's email address has been approved; on default WordPress installations, only the first comment from a given email address is held for moderation, meaning subsequent comments auto-approve and immediately expose the payload to site visitors.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- cleantalk Anti-Spam by CleanTalk – Spam Protection Without CAPTCHA
through 6.88
References 6
plugins.trac.wordpress.org
- browser/cleantalk-spam-protect/tags/6.88/lib/Cleantalk/Common/ContactsEncoder/ContactsEncoder.php#L831
- browser/cleantalk-spam-protect/tags/6.88/lib/Cleantalk/Common/ContactsEncoder/ContactsEncoder.php#L841
- browser/cleantalk-spam-protect/tags/6.88/lib/Cleantalk/Common/ContactsEncoder/ContactsEncoder.php#L273
- browser/cleantalk-spam-protect/tags/6.88/lib/Cleantalk/ApbctWP/ContactsEncoder/ContactsEncoder.php#L97
- browser/cleantalk-spam-protect/tags/6.88/cleantalk.php#L248