{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4253",
 "modified": "2026-11-30T11:01:42Z",
 "published": "2026-11-30T11:01:42Z",
 "summary": "MetForm <= 4.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Widget Settings",
 "details": "The MetForm plugin for WordPress is vulnerable to Stored Cross-Site Scripting via form widget settings such as validation messages, validation expressions, option labels and quiz data in all versions up to, and including, 4.3.5. This is due to insufficient output escaping: the field widgets print these settings with plain wp_json_encode(), which leaves HTML special characters, ampersands (HTML entities that the form script turns back into quotes), backticks and '$' unescaped, both in the widget's raw HTML output and in the form template that is compiled into JavaScript. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "metform"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "1.3.0"
      },
      {
       "fixed": "4.3.6"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 1.3.0 before 4.3.6"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4253/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/metform/tags/4.3.6/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/metform/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4253/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
