CVE-2026-9187 Abandoned Contact Form 7 <= 2.2 - Missing Authorization to Unauthenticated Arbitrary Post Deletion via 'recover_id' Parameter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- WordPress
Description
The Abandoned Contact Form 7 plugin for WordPress is vulnerable to unauthorized arbitrary post deletion in versions up to, and including, 2.2. This is due to a missing capability check and missing nonce validation in the action__remove_abandoned() function, which is registered to both the wp_ajax_remove_abandoned and wp_ajax_nopriv_remove_abandoned hooks. The handler takes a user-supplied recover_id parameter from $_POST and passes it directly to wp_delete_post() with the force-delete flag set to true, without verifying that the ID belongs to the plugin's own cf7af_data post type. This makes it possible for unauthenticated attackers to permanently delete arbitrary posts, pages, or other content on the affected site by sending a single admin-ajax.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| wordpress abandoned-contact-form-7(WordPress) | <= 2.2 | after 2.2 | Fixed |
| zealopensource Abandoned Contact Form 7 | <= 2.2 | after 2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zealopensource Abandoned Contact Form 7 | <= 2.2 | No fix listed |
| wordpress abandoned-contact-form-7(WordPress) | <= 2.2 | No fix listed |
References
- www.wordfence.com
- plugins.trac.wordpress.org
- Wordfence Intelligence third-party-advisory
- www.cve.org