Redirection for Contact Form 7 <= 3.2.18 - Authenticated (Editor+) Insecure Direct Object Reference to Arbitrary Post Trashing

Low 3.8 CWE-639Fixed in 3.2.19
ID
WPSEC-2026-4021
Plugin
Redirection for Contact Form 7 (wpcf7-redirect)
Affected
from 2.2.7 before 3.2.19
Remediation
Update to 3.2.19 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-639
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-11-26
Attack surface
Redirection for Contact Form 7 on WPSec AttackSurface
Fix released
Published

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).

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0