{
 "id": "WPSEC-2026-3321",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3321/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3321/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3321/index.md",
 "title": "Contact Form <= 2.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via field_group Shortcode",
 "description": "The Contact Form 7 – Repeatable Fields plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the group ID of the 'field_group' shortcode in all versions up to, and including, 2.0.2. This is due to insufficient input sanitization and output escaping on the group ID, which is printed unescaped into the name attribute of the hidden group-count input. 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.",
 "plugin": {
  "slug": "cf7-repeatable-fields",
  "name": "Contact Form",
  "full_name": "Contact Form 7 – Repeatable Fields",
  "wordpress_org": "https://wordpress.org/plugins/cf7-repeatable-fields/",
  "advisories_url": "https://wpsec.com/vuln/plugin/cf7-repeatable-fields/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/cf7-repeatable-fields"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.0.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.0.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.0.0",
 "remediation": "Update to 3.0.0 or later.",
 "fix_released": "2026-11-17T00:38:43+00:00",
 "published": "2026-11-18T13:46:53+00:00",
 "updated": "2026-11-18T13:12:00.310470+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3321/",
  "https://plugins.svn.wordpress.org/cf7-repeatable-fields/tags/3.0.0/",
  "https://wordpress.org/plugins/cf7-repeatable-fields/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/cf7-repeatable-fields",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-18"
 }
}