---
id: CVE-2025-11977
title: >-
  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_ge…
summary: >-
  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_ge…
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-98
published: '2026-07-10'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T19:10:00.160'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-11977'
references:
  - url: >-
      https://plugins.svn.wordpress.org/happyforms/trunk/core/classes/class-wp-customize-form-manager.php
    label: security@wordfence.com
  - url: >-
      https://plugins.svn.wordpress.org/happyforms/trunk/core/helpers/helper-form-templates.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3494912%40happyforms&new=3494912%40happyforms
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e31119ab-963d-48a4-9948-0a0dce761918?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00866
epssPercentile: 0.57078
ingestedAt: '2026-09-29T19:44:04.105Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
