Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit Happyforms form anonymously
-
DeliveryInject script via spoofed X-Forwarded-For header
-
ExploitPayload stored as client_ip post meta
-
ExecutionAdmin opens submission Details metabox
-
ImpactUnescaped script executes in admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target site run the Happyforms (Pro) plugin at version ≤1.38.9 with at least one public form that accepts unauthenticated submissions - the default use case for the plugin. The injection itself needs no authentication, no non-default configuration, and no special privileges (PR:N): the attacker only sends a crafted HTTP_CLIENT_IP or HTTP_X_FORWARDED_FOR header, which these functions read without validation. The key LIMITING factor is that the stored payload only fires when a privileged user (typically an administrator) opens that specific submission in the admin Details metabox; until then it is dormant, so impact is gated on admin review activity rather than being automatic on the server. No successful spoofing mitigation (e.g., a trusted-proxy allowlist) is assumed in the vulnerable configuration. |
| Impact | This is a genuine but moderate-priority issue rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N = 7.2 High) shows remote, unauthenticated, low-complexity injection with a scope change, which is the serious part: an anonymous internet user can plant the payload via a normal form submission. The real-world impact is tempered, however, because execution depends on a privileged victim (typically an administrator) later opening the affected submission in wp-admin, so this is a delayed, victim-dependent stored XSS rather than direct server compromise, and confidentiality/integrity impact is only Low with no availability impact. On the signal side there is a conflict worth stating explicitly: the vuln.today Decision label is 'this_week' (elevated, not act_now/emergency), it is NOT listed in CISA KEV, and no EPSS score, SSVC exploitation value, or confirmed PoC was supplied - so there is no evidence of active or automatable exploitation. In short, the severity is driven by ease of injection, while actual risk is bounded by the need for admin interaction and the absence of any exploitation signal. Prioritize for prompt patching within normal cycles, not out-of-band. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a Happyforms form over the internet while sending a forged HTTP_X_FORWARDED_FOR (or HTTP_CLIENT_IP) header containing a JavaScript payload; the happyforms_get_client_ip() function stores that raw value as the 'client_ip' post meta. Later, when an administrator opens that submission in the admin edit screen's Details metabox, the unescaped value is echoed into the page and the script executes in the admin's authenticated browser session. Given AV:N/AC:L/PR:N, the injection step is trivial and remote; no public exploit code was identified in the provided data, though the technique is straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 07, 2026
Stored cross-site scripting in the Happyforms Pro WordPress plugin through version 1.38.9 lets unauthenticated attackers plant arbitrary script in the WordPress database by sending a crafted Client-IP or X-Forwarded-For header with a public form submission; the payload is written into the submission's 'client_ip' post meta and rendered unescaped in the admin Details metabox, so it executes in an administrator's browser the next time that specific submission is opened for review. The injection itself needs no credentials or non-default configuration - it only requires a public form accepting unauthenticated submissions, the plugin's default use case - but the payload stays dormant until a privileged user reviews it, which is the main limiter on impact. A public Wordfence advisory exists, no public exploit code or CISA KEV entry is associated with this CVE in the supplied data, and the priority assessment places it in the 'this week' remediation queue rather than the emergency category.
RemediationAI
No vendor-released patch is identified in the available data, and no fixed version number is stated, so the first step is to check the vendor changelog at https://happyforms.io/whats-new/ and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/17e95c94-0a63-494e-b4b0-823b9cd0f7d3 for a release newer than 1.38.9 and upgrade to it once confirmed. Because the injection point is the client-supplied Client-IP and X-Forwarded-For headers that happyforms_get_client_ip() reads without validation, a compensating control is to have the web server or reverse proxy overwrite those headers with the actual connection IP before requests reach WordPress, so attacker-supplied values never arrive unmodified - the trade-off is that this requires a correctly configured trusted proxy chain, and if the site legitimately sits behind a CDN or load balancer, misconfiguration will corrupt real client IP logging. A second option is to temporarily stop accepting unauthenticated submissions on forms (restricting form availability or requiring login), which reduces exposure but removes the plugin's core public-form functionality; the stored payload only executes when an administrator opens the affected submission in the Details metabox, so reviewing existing submission records for injected markup and removing any 'client_ip' values containing script is a cleanup step rather than a fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 output-escaping failure that spans three code paths in the plugin: happyforms_get_client_ip() reads the raw HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR request headers with no validation or trust check, so any value the client sends is treated as the submitter's IP address; that value is persisted via update_post_meta() into the 'client_ip' post meta of the submission record during an otherwise unauthenticated form submission; and the admin submission edit screen's Details metabox later echoes the stored value without escaping, completing the stored XSS chain. Because both headers are fully client-controlled and the plugin assumes no trusted-proxy allowlist, spoofing is trivial and the persistence step gives the payload a durable home in the WordPress database. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, scope changed) reflects network reachability, no privileges, and low confidentiality and integrity impact, with the scope change acknowledging that code runs in the privileged administrator context rather than the unauthenticated submitter's. The affected package is identified as happyforms_pro (WordPress plugin) in the CPE data, matching the EUVD listing of Happyforms Pro 0 through 1.38.9.
Know when Happyforms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Remote unauthenticated injection (AV:N/AC:L/PR:N); UI:N since the payload auto-executes when the admin loads the submission screen; S:C because script runs in the admin's separate authenticated context, with Low C/I and no A impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Executive ViewAI
A stored cross-site scripting vulnerability in the Happyforms Pro WordPress plugin (versions up to 1.38.9) allows unauthenticated attackers to inject malicious scripts into the WordPress database via crafted headers on public form submissions. These scripts execute when an administrator reviews the affected submission, potentially enabling session hijacking or admin account takeover. With no vendor patch available, any organization using this plugin for public forms faces a persistent, though currently non-exploited, risk.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting administrator access to submission details, deploying WAF rules to sanitize headers, and disabling the plugin if feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Happyforms
View allUnauthenticated PHP Object Injection in the Happyforms WordPress plugin (versions <= 1.26.13) allows remote attackers to
HTML injection in the HappyForms WordPress plugin (versions before 1.26.15) allows unauthenticated attackers to place ar
The Happyforms WordPress plugin before 1.22.0 does not validate and escape some of its block options before outputting t
The Happyforms WordPress plugin before 1.26.3 does not sanitise and escape some of its settings, which could allow high
Stored cross-site scripting in Happyforms Pro for WordPress, affecting versions up to and including 1.38.9, allows remot
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Happyforms Form bu
Unauthenticated cross-site scripting in the Happyforms WordPress plugin affects every release through version 1.26.15, a
Local File Inclusion in the Happyforms WordPress plugin (all versions through 1.26.12) allows authenticated administrato
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Happyforms
Missing Authorization vulnerability in Happyforms.25.10. Rated medium severity (CVSS 5.3), this vulnerability is remotel
EUVD-2026-119136
GHSA-4vjj-g4g8-7pwg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB