{
 "id": "WPSEC-2026-2027",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2027/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2027/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2027/index.md",
 "title": "Anti-Spam by CleanTalk <= 6.90 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Business Directory Field Display",
 "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.",
 "plugin": {
  "slug": "cleantalk-spam-protect",
  "name": "Anti-Spam by CleanTalk",
  "full_name": "Anti-Spam, Spam FireWall by CleanTalk",
  "wordpress_org": "https://wordpress.org/plugins/cleantalk-spam-protect/",
  "advisories_url": "https://wpsec.com/vuln/plugin/cleantalk-spam-protect/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/cleantalk-spam-protect"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.9,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "6.47",
    "from_inclusive": true,
    "to": "6.91",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 6.47 before 6.91"
  ]
 },
 "introduced_in": "6.47",
 "fixed_in": "6.91",
 "remediation": "Update to 6.91 or later.",
 "fix_released": "2026-10-29T09:38:19+00:00",
 "published": "2026-10-30T09:42:55+00:00",
 "updated": "2026-10-29T17:46:25.364348+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2027/",
  "https://plugins.svn.wordpress.org/cleantalk-spam-protect/tags/6.91/",
  "https://wordpress.org/plugins/cleantalk-spam-protect/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/cleantalk-spam-protect",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-10-30"
 }
}