CVE-2026-126012 in Contact Form Email Plugin
Summary
by MITRE • 11/20/2026
The Contact Form Email plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.3.72. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for authenticated attackers, with subscriber-level access and above, to view and delete all stored contact form submissions, create, rename, delete, and clone forms, alter plugin database tables, and persistently rewrite the reporting options to silently email a CSV of all submissions to an attacker-controlled address on every subsequent request. The nonce intended to authorize state-changing POST requests is minted into the same management page the attacker can already render, so it provides no effective authorization barrier against a Subscriber-level user.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/20/2026
The Contact Form Email plugin for WordPress contains a critical authorization bypass vulnerability affecting all versions up to and including 1.3.72. This flaw stems from an improper verification of user privileges when handling state-changing operations within the plugin's administrative interface. The core issue lies in the implementation of nonces, which are cryptographic tokens designed to prevent Cross-Site Request Forgery attacks by ensuring that a request originates from a legitimate source and is authorized for the specific action being performed. In this instance, the nonce required to authorize POST requests is generated on the same management page that any authenticated user with subscriber-level access or higher can already view and interact with. Because the attacker has read access to the page where the nonce is displayed, they can easily extract it and use it in subsequent forged requests. This effectively neutralizes the security benefit of the nonce, as possession of the token becomes trivial for any logged-in user regardless of their role level.
The operational impact of this vulnerability is severe due to the breadth of actions an attacker can perform once authorized access is bypassed. An authenticated attacker with subscriber-level privileges or above can view and delete all stored contact form submissions, leading to a significant loss of data integrity and potential exposure of sensitive personal information collected through these forms. Furthermore, the attacker gains the ability to create, rename, delete, and clone forms, which disrupts normal website operations and allows for further malicious configuration changes. More critically, the vulnerability permits alteration of plugin database tables, providing deeper access to the underlying WordPress data structure. This level of control can be leveraged to modify core site settings or inject malicious code into the database schema itself.
A particularly dangerous aspect of this flaw is the ability to persistently rewrite reporting options. An attacker can configure the plugin to silently email a CSV file containing all contact form submissions to an address controlled by them on every subsequent request. This creates a continuous data exfiltration channel that operates in the background, potentially stealing customer information, lead details, or other sensitive communications without immediate detection by site administrators. The persistence of this configuration means that even if initial access is discovered and revoked, the attacker may continue to receive stolen data until the specific plugin settings are manually reset, which requires administrative privileges they do not possess through normal channels.
From a classification perspective, this vulnerability aligns with CWE-269 Improper Privilege Management, as it involves an actor obtaining capabilities beyond their intended role. It also relates to CWE-352 Cross-Site Request Forgery (CSRF), specifically regarding the failure of anti-CSRF mechanisms like nonces when they are exposed in accessible contexts. In terms of the MITRE ATT&CK framework for enterprise security, this behavior maps to T1078 Valid Accounts and potentially T1564 Hidden Files and Directories if the exfiltration mechanism is used to obscure data theft. The attack vector relies on authenticated access, which classifies it as an insider threat or a consequence of compromised low-privilege credentials rather than an unauthenticated remote code execution flaw.
Mitigation strategies should focus on immediate remediation and future prevention. Site administrators must update the Contact Form Email plugin to version 1.3.73 or later where this authorization logic has been corrected. If updating is not immediately possible, restricting access to the WordPress admin area to only users with Administrator-level privileges can mitigate the risk, as subscribers typically have limited dashboard access by default but may be granted additional capabilities via roles and plugins that expose these vulnerable pages. Additionally, implementing strict Content Security Policy headers and monitoring for unusual outbound email traffic from the server can help detect ongoing exfiltration attempts. Regular audits of user permissions and review of plugin code for proper nonce validation in all state-changing operations are essential to prevent similar authorization bypasses in other components.