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 flaw (CWE‑98) in the happyforms_get_form_partial() function. An authenticated user with administrator level or higher privileges can supply the path to an arbitrary .php file, causing the server to include and execute that file. This allows the attacker to run arbitrary PHP code, bypass access controls, read sensitive files, or otherwise compromise the.

Affected Systems

Any WordPress installation that has the Happyforms plugin version 1. exists in all releases up to and including 1.26.12 and is not limited by WordPress core version.

Risk and Exploitability

The CVSS score of 6.6 denotes moderate severity, while the EPSS score of less than that the likelihood of public exploitation is currently low. Because the flaw requires administrator or higher privileges and the ability to place a malicious .php file on the server, it is typically confined to environments where such access exists. The vulnerability is not listed in CISA KEV, and no public exploits are known at this time. When both conditions are met, an attacker can execute code and potentially gain full server compromise.

Generated by OpenCVE AI on July 26, 2026 at 13:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Happyforms plugin to version 1.26.13 or later, which removes the vulnerable happyforms_get_form_partial() function.
  • Restrict PHP execution permissions for directories that can be targeted by happyforms_get_form_partial(), for example by setting file permissions to disallow execution or disabling PHP processing in those directories.
  • Ensure that only trusted administrators have the capability to upload or place .php files in the plugin’s directories and consider tightening role permissions so that fewer accounts possess such privileges.

Generated by OpenCVE AI on July 26, 2026 at 13:55 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T14:00:18Z

Weaknesses
  • CWE-98

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