{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4599",
 "modified": "2026-12-04T11:44:55Z",
 "published": "2026-12-04T11:44:55Z",
 "summary": "Contact Form Widget <= 1.5.3 - Authenticated (Administrator+) Stored Cross-Site Scripting via Contact Form Widget Placeholder Settings",
 "details": "The Contact Form Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the email, subject and message placeholder settings of the contact form widget in all versions up to, and including, 1.5.3. This is due to insufficient input sanitization and missing output escaping: the values are saved with sanitize_text_field, which keeps double quotes, and the sidebar widget then prints them into placeholder attributes without escaping. This makes it possible for authenticated attackers with administrator-level access to inject arbitrary web scripts that execute whenever a user visits a page showing the contact form widget. It only affects multi-site installations and installations where unfiltered_html has been disabled.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "new-contact-form-widget"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "1.4.2"
      },
      {
       "fixed": "1.5.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 1.4.2 before 1.5.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4599/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/new-contact-form-widget/tags/1.5.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/new-contact-form-widget/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4599/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
