MEDIUM

CVE-2026-12094

2026-06-24 CVSS v3.1
CVSS
5.3

Description

The Advanced Contact Form 7 - Compact DB plugin for WordPress is vulnerable to unauthorized deletion of data due to a missing capability check on the cf7cdb_ajax_delete_user() function in versions up to, and including, 1.0.0. The handler is registered against both `wp_ajax_cf7cdb_delete` and `wp_ajax_nopriv_cf7cdb_delete`, and it performs no nonce verification, no capability check, and no ownership check before invoking `$wpdb->delete()` against the `wp_cf7cdb_data` table with an attacker-supplied integer ID. This makes it possible for unauthenticated attackers to delete arbitrary contact form submission entries stored by the plugin by iterating sequential primary-key IDs.

Summary dbcve.org

The Advanced Contact Form 7 - Compact DB WordPress plugin versions up to 1.0.0 lacks authorization, capability checks, and nonce verification on the cf7cdb_ajax_delete_user() AJAX handler. The function is exposed to both authenticated and unauthenticated users via wp_ajax_cf7cdb_delete and wp_ajax_nopriv_cf7cdb_delete hooks, allowing any visitor to delete arbitrary database records by supplying sequential integer IDs to $wpdb->delete().

Mitigation

Add nonce verification, capability checks (e.g., current_user_can('manage_options')), and ownership validation to ensure the current user owns or has rights to delete the specific contact form submission before executing $wpdb->delete().

Weakness (CWE)

CWE-862 Missing Authorization

EPSS Score

0.4%
Probability of exploitation in next 30 days
34.3th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE