Severity by source
AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Administrator access required (PR:H) and additional file-upload prerequisite for RCE justifies AC:H; full impact metrics apply only when the upload condition is met.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Local File Inclusion in the Happyforms WordPress plugin (all versions through 1.26.12) allows authenticated administrators to include and execute arbitrary PHP files on the server via the happyforms_get_form_partial() function, enabling full remote code execution when the attacker can also upload PHP files. The vulnerability is rooted in unsanitized filename handling (CWE-98) within the form template rendering logic, as evidenced by the affected files class-wp-customize-form-manager.php and helper-form-templates.php. No public exploit code or CISA KEV listing has been identified at time of analysis, and the Administrator-level access prerequisite substantially limits the realistic attacker population.
Technical ContextAI
CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program) describes a classic PHP file inclusion flaw where user-controllable input is passed to a PHP include/require construct without adequate path validation. In this case, the happyforms_get_form_partial() function - invoked during form template rendering in the WordPress Customizer and front-end form handling code - accepts a parameter that is used to resolve a PHP partial file. The affected codebase paths (core/classes/class-wp-customize-form-manager.php and core/helpers/helper-form-templates.php) indicate the flaw spans both the WP Customizer integration and the template helper layer. The CPE string confirms the affected product is the Happyforms WordPress plugin. Because the inclusion target is a .php file, the PHP interpreter executes the included file rather than merely reading it, elevating an LFI to RCE when a writable upload path exists.
RemediationAI
A fix was committed to the WordPress.org SVN repository (changeset 3494912: https://plugins.trac.wordpress.org/changeset?reponame=&old=3494912%40happyforms&new=3494912%40happyforms); however, the exact released version number corresponding to this patch is not confirmed in the available data. Site administrators should update the Happyforms plugin to the latest available version via the WordPress plugin dashboard and verify the installed version exceeds 1.26.12. As a compensating control pending patch deployment, administrators should restrict the WordPress admin panel to trusted IP ranges and disable PHP file uploads in directories accessible to WordPress (e.g., via server-level configuration blocking PHP execution in wp-content/uploads). Note that blocking PHP execution in upload directories only mitigates the RCE escalation path; the underlying LFI remains exploitable by existing admin-level accounts. The Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/e31119ab-963d-48a4-9948-0a0dce761918) should be monitored for confirmation of the patched release version.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-98 – PHP Remote File Inclusion
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-210450
GHSA-f6q8-jxw9-8mhj