CVE-2025-11977: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in happyforms Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms
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.
AI Analysis
Technical Summary
CVE-2025-11977 is a Local File Inclusion vulnerability (CWE-98) in the Happyforms – Form Builder for WordPress plugin, affecting all versions up to and including 1.26.12. The vulnerability exists in the happyforms_get_form_partial() function, which improperly controls the filename used in include/require statements. An attacker with Administrator-level access can exploit this to include arbitrary PHP files on the server, potentially executing malicious code or accessing sensitive data.
Potential Impact
An attacker with Administrator privileges can exploit this vulnerability to execute arbitrary PHP code on the server by including crafted PHP files. This can lead to full compromise of the affected WordPress installation, including bypassing access controls and data disclosure. The CVSS 3.1 base score is 6.6 (medium severity), reflecting the requirement for high privileges and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Administrator-level access to trusted users only and monitor for suspicious activity related to file uploads and inclusion. Avoid uploading PHP files through the plugin or other means. Follow the vendor's updates for an official patch or workaround.
CVE-2025-11977: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in happyforms Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms
Description
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.
CVSS v3.1
Score 6.6medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-11977 is a Local File Inclusion vulnerability (CWE-98) in the Happyforms – Form Builder for WordPress plugin, affecting all versions up to and including 1.26.12. The vulnerability exists in the happyforms_get_form_partial() function, which improperly controls the filename used in include/require statements. An attacker with Administrator-level access can exploit this to include arbitrary PHP files on the server, potentially executing malicious code or accessing sensitive data.
Potential Impact
An attacker with Administrator privileges can exploit this vulnerability to execute arbitrary PHP code on the server by including crafted PHP files. This can lead to full compromise of the affected WordPress installation, including bypassing access controls and data disclosure. The CVSS 3.1 base score is 6.6 (medium severity), reflecting the requirement for high privileges and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Administrator-level access to trusted users only and monitor for suspicious activity related to file uploads and inclusion. Avoid uploading PHP files through the plugin or other means. Follow the vendor's updates for an official patch or workaround.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-20T16:45:21.982Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a50b54868715ace4351b329
Added to database: 07/10/2026, 09:03:04 UTC
Last enriched: 07/17/2026, 09:59:42 UTC
Last updated: 08/24/2026, 10:52:04 UTC
Views: 79
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.