HappyForms <= 1.26.12 - Authenticated (Admin+) Local File Inclusion
cve-program · CVE-2025-11977
PublishedThe 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-11977 · CVE overview and exploitation status
cve-program · CVE-2025-11977
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e31119ab-963d-48a4-9948-0a0dce761918?source=cve
- https://plugins.svn.wordpress.org/happyforms/trunk/core/classes/class-wp-customize-form-manager.php
- https://plugins.svn.wordpress.org/happyforms/trunk/core/helpers/helper-form-templates.php
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3494912%40happyforms&new=3494912%40happyforms
Related changes
Linked by CVE identifierNo related changes are available here.