{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4020",
 "modified": "2026-11-26T18:51:25Z",
 "published": "2026-11-26T18:51:25Z",
 "summary": "Redirection for Contact Form 7 <= 3.2.18 - Unauthenticated Reflected Cross-Site Scripting via Redirect URL Form Tags",
 "details": "The Redirection for Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the Redirect action's external URL in all versions up to, and including, 3.2.18, due to the redirect URL built from submitted form tag values not being restricted to safe schemes before it is output in the redirect script or the redirect form. This makes it possible for unauthenticated attackers to execute arbitrary scripts in a victim's browser by tricking the victim into submitting a crafted form request, for example through an auto-submitting cross-site form. Exploitation requires a Redirect action whose external URL begins with a form tag.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wpcf7-redirect"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.2.7"
      },
      {
       "fixed": "3.2.19"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.2.7 before 3.2.19"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4020/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wpcf7-redirect/tags/3.2.19/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wpcf7-redirect/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4020/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
