Description
The Happyforms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via spoofable client IP headers in versions up to, and including, 1.38.9. This is due to the happyforms_get_client_ip() function reading raw HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR request headers without any validation or sanitization, storing the value as post meta ('client_ip') via update_post_meta() during unauthenticated form submissions, and later echoing it in the admin submission edit screen's Details metabox without output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user (typically an administrator reviewing a submission) accesses an injected page.
Published: 2026-11-07
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting (XSS) that allows unauthenticated attackers to inject scripts into the admin submission edit screen.
Action: Update
AI Analysis

Impact

The Happyforms Pro WordPress plugin contains a stored XSS flaw that arises from the client IP extraction function reading raw HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR headers without validation. The extracted value is saved as post meta and later displayed in the admin submission details, enabling an attacker to embed JavaScript into the page seen by users with editorial access. An injected script runs whenever an administrator or other privileged user views a submission, potentially compromising credentials, defacing the site, or hijacking sessions.

Affected Systems

This vulnerability affects Happyforms Pro versions up to 1.38.9 and all earlier releases that may be present in WordPress installations. Administrators using those plugins are at risk if their site receives form submissions from unauthenticated users.

Risk and Exploitability

The CVSS score of 7.2 indicates a moderate to high severity. The exploit requires only that an unauthenticated request include a forged X‑Forwarded‑For header; no authentication or privileged access is needed. EPSS data is unavailable, and the vulnerability is not currently listed in CISA’s KEV catalog, suggesting limited public exploitation but the attack path is straightforward. The vulnerability can be triggered by any entity that can submit a form to the site, meaning a broad attack surface.

Generated by OpenCVE AI on November 7, 2026 at 13:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest available Happyforms Pro release that addresses this flaw, once a patch is released.
  • If an immediate update is not possible, temporarily block or strip spoofable X‑Forwarded‑For and HTTP_CLIENT_IP headers for the form routes, or configure the web server to ignore those headers.
  • As a further precaution, remove or sanitize the stored 'client_ip' post meta that the plugin writes, or disable that storage functionality via configuration.

Generated by OpenCVE AI on November 7, 2026 at 13:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 07 Nov 2026 11:30:00 +0000

Type Values Removed Values Added
Description The Happyforms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via spoofable client IP headers in versions up to, and including, 1.38.9. This is due to the happyforms_get_client_ip() function reading raw HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR request headers without any validation or sanitization, storing the value as post meta ('client_ip') via update_post_meta() during unauthenticated form submissions, and later echoing it in the admin submission edit screen's Details metabox without output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user (typically an administrator reviewing a submission) accesses an injected page.
Title Happyforms Pro <= 1.38.9 - Unauthenticated Stored Cross-Site Scripting via Client-IP/X-Forwarded-For Header
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-07T18:06:02.221Z

Reserved: 2026-09-18T16:36:18.236Z

Link: CVE-2026-93755

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-07T12:17:47.120

Modified: 2026-11-07T18:17:29.750

Link: CVE-2026-93755

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-07T13:15:15Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')