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.
Published: 2026-07-10
Score: 6.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Happyforms – Form Builder for WordPress plugin contains a local file inclusion vulnerability (CWE‑98) in the happyforms_get_form_partial() function. When an authenticated user with administrator‑level or higher privileges supplies a path to an arbitrary .php file, the server includes and executes that file. This allows the attacker to run arbitrary PHP code, bypass access controls, read sensitive files or otherwise compromise the site.

Affected Systems

Any WordPress installation that uses the Happyforms plugin version 1.26.12 or earlier, regardless of the WordPress core version.

Risk and Exploitability

The CVSS score of 6.6 denotes moderate severity, while the EPSS score of < 1% indicates a low likelihood of public exploitation at this time. The flaw requires administrator or higher privileges and the ability to place a malicious .php file on the server, limiting the attack surface to environments where such privileges exist. When both conditions are met, an attacker can execute code and potentially gain full server compromise. The vulnerability is not listed in CISA KEV, and no public exploits are known as of the current data.

Generated by OpenCVE AI on July 31, 2026 at 13:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Restrict PHP execution permissions for directories that can be targeted by happyforms_get_form_partial(), for example by configuring .htaccess or server settings to disallow PHP processing in those directories.
  • Limit the number of users with administrator privileges; ensure that only trusted administrators can upload or place .php files in the plugin’s directories and consider tightening role permissions so that fewer accounts possess such privileges.
  • If the plugin is not required, remove or replace it with an alternative that does not expose this flaw.

Generated by OpenCVE AI on July 31, 2026 at 13:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Happyforms
Happyforms happyforms – Form Builder For Wordpress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms
Wordpress
Wordpress wordpress
Vendors & Products Happyforms
Happyforms happyforms – Form Builder For Wordpress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms
Wordpress
Wordpress wordpress

Fri, 10 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title HappyForms <= 1.26.12 - Authenticated (Admin+) Local File Inclusion
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Happyforms Happyforms – Form Builder For Wordpress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-10T10:07:52.289Z

Reserved: 2025-10-20T16:45:21.982Z

Link: CVE-2025-11977

cve-icon Vulnrichment

Updated: 2026-07-10T10:07:47.084Z

cve-icon NVD

Status : Deferred

Published: 2026-07-10T09:16:51.153

Modified: 2026-07-10T15:43:30.330

Link: CVE-2025-11977

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T13:15:03Z

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')