{
 "id": "WPSEC-2026-4021",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4021/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4021/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4021/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4021.json",
 "title": "Redirection for Contact Form 7 <= 3.2.18 - Authenticated (Editor+) Insecure Direct Object Reference to Arbitrary Post Trashing",
 "description": "The Redirection for Contact Form 7 plugin for WordPress is vulnerable to Insecure Direct Object Reference via the wpcf7r_delete_action AJAX action in all versions up to, and including, 3.2.18, due to missing validation on a user-controlled post ID. The delete_action_post() handler checks only the generic Contact Form 7 edit capability and a nonce, then passes each requested post ID to wp_trash_post() without checking its post type or the user's permissions on that post. This makes it possible for authenticated attackers who can edit contact forms (Editor-level and above by default) to move posts to the trash that they could not otherwise delete, such as content types that require other capabilities (for example block templates, navigation menus, WooCommerce products or other plugins' admin-only content).",
 "plugin": {
  "slug": "wpcf7-redirect",
  "name": "Redirection for Contact Form 7",
  "full_name": "Redirection for Contact Form 7",
  "wordpress_org": "https://wordpress.org/plugins/wpcf7-redirect/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wpcf7-redirect/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wpcf7-redirect"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 3.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L",
  "severity": "Low"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.2.7",
    "from_inclusive": true,
    "to": "3.2.19",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.2.7 before 3.2.19"
  ]
 },
 "introduced_in": "2.2.7",
 "fixed_in": "3.2.19",
 "remediation": "Update to 3.2.19 or later.",
 "fix_released": "2026-11-25T18:03:54+00:00",
 "published": "2026-11-26T18:51:25+00:00",
 "updated": "2026-11-26T12:03:21.574581+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4021/",
  "https://plugins.svn.wordpress.org/wpcf7-redirect/tags/3.2.19/",
  "https://wordpress.org/plugins/wpcf7-redirect/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wpcf7-redirect",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-11-26"
 }
}