Anti-Spam by CleanTalk <= 6.90 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Business Directory Field Display

Medium 4.9 CWE-79Fixed in 6.91
ID
WPSEC-2026-2027
Plugin
Anti-Spam, Spam FireWall by CleanTalk (cleantalk-spam-protect)
Affected
from 6.47 before 6.91
Remediation
Update to 6.91 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-10-30
Attack surface
Anti-Spam by CleanTalk on WPSec AttackSurface
Fix released
Published

Description

The Anti-Spam, Spam FireWall by CleanTalk plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Business Directory Plugin field display integration of the Contacts Encoder in all versions up to, and including, 6.90, due to ContactsEncoder::modifyFormFieldDisplay() running html_entity_decode() on the whole escaped field HTML whenever it contains 'mailto:'. This turns escaped markup back into live HTML. This makes it possible for authenticated attackers with Subscriber-level access and above, or unauthenticated attackers where the directory allows guest listings, to inject arbitrary web scripts into directory listings that run when a user views them.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0