{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4322",
 "modified": "2026-12-01T15:51:21Z",
 "published": "2026-12-01T15:51:21Z",
 "summary": "Contact Form Email <= 1.3.76 - Authenticated (Editor+) Stored Cross-Site Scripting via CAPTCHA Settings",
 "details": "The Contact Form Email plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the form's CAPTCHA image settings (such as cv_width, cv_height and cv_font) in all versions up to, and including, 1.3.76, due to insufficient output escaping when these values are placed into the CAPTCHA image src attribute on the public form. The values are only passed through sanitize_text_field(), which does not remove double quotes. This makes it possible for authenticated attackers with Editor-level access and above, in environments where they lack the unfiltered_html capability such as multisite, to inject arbitrary web scripts that execute whenever a user views a page containing the form.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "contact-form-to-email"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.3.77"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.3.77"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4322/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/contact-form-to-email/tags/1.3.77/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/contact-form-to-email/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4322/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
