What the vulnerability does
01Description
The Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.26.12 via the happyforms_get_form_partial() function. This makes it possible for authenticated attackers, with Administrator-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.
Explanation of Vulnerability in Simple Terms
02Summary
Happyforms versions up to 1.26.12 contain a code injection vulnerability accessible to high-privilege users. An authenticated administrator can inject and execute arbitrary code through the plugin, potentially compromising the entire WordPress site. The vulnerability requires high attack complexity and administrative access, limiting exposure to trusted users with elevated permissions.
What an attacker can do
03Attacker Capabilities
Run arbitrary code on the WordPress site with full site privileges.
Potential impact on your site
04Site Impact
A compromised admin account can execute malicious code, steal data, modify content, or take full control of your site.
Conditions required to exploit
05Prerequisites
Attacker must have administrator-level access to WordPress.
Key dates
06Disclosure timeline
July 10, 2026
CVE published
July 10, 2026
Record updated