Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessScan public forms for hidden upload field
-
DeliveryCraft multipart upload of executable file
-
ExploitBypass extension validation via hidden-field pipeline mismatch
-
ExecutionFile persisted to web-accessible path
-
PersistRequest uploaded shell URL
-
ImpactExecute arbitrary code as web server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the targeted Gravity Forms form to contain a File Upload field with its Visibility set to 'Hidden' on a publicly accessible form; without such a field the flaw is not reachable. Given that state, no authentication or user interaction is needed (PR:N/UI:N) and the attack is fully remote (AV:N). The primary limiting factor is this non-default per-form configuration - the hidden File Upload field - which means many installations will not be exploitable even while running a vulnerable version. A secondary practical limiter is that successful RCE depends on the server executing the uploaded file type (e.g. PHP handling in the upload directory), which hardened deployments may restrict. |
| Impact | This is a genuine high-priority issue by every available signal, with one important real-world caveat. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8 Critical) describes unauthenticated, network-reachable arbitrary file upload leading to remote code execution - the highest-impact class of web vulnerability. Authentication is not required (PR:N), so any internet-facing vulnerable site is potentially reachable. However, the description imposes a concrete precondition that raw CVSS does not capture: the target form must contain a File Upload field whose Visibility is set to 'Hidden'. This is a non-default, per-form configuration state, so the effective attack surface is narrower than the 9.8 suggests - not every Gravity Forms installation is exploitable, only those with a form matching this condition. No EPSS score, CISA KEV entry, or public POC was provided in the input; exploitation status is therefore 'no public exploit identified at time of analysis'. The absence of KEV/EPSS is not reassurance here - CWE-434 file-upload-to-RCE flaws in popular WordPress plugins are historically attractive to mass-scanning attackers once a POC surfaces, so prioritize patching before public weaponization rather than after. Overall: a real priority for any operator running Gravity Forms with hidden upload fields, and worth patching universally given plugin ubiquity and RCE impact. |
| Exploit ScenarioDerived | An unauthenticated attacker locates a publicly accessible Gravity Forms form containing a File Upload field configured with Hidden visibility, then submits a crafted multipart request uploading an executable file (e.g. a PHP web shell) that bypasses extension validation due to the mismatch between the validation and persistence pipelines. The rejected-but-intact file is passed to upload_file() without re-validation and persisted to a web-accessible path, after which the attacker requests the uploaded file's URL to execute arbitrary code as the web server user. No public exploit code was identified at time of analysis, but the flaw is straightforward to weaponize. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 19, 2026
Unauthenticated arbitrary file upload in the Gravity Forms WordPress plugin through version 3.1.0.4 can lead to remote code execution on any site whose publicly reachable form contains a File Upload field with its Visibility set to 'Hidden', because hidden upload fields skip the extension-validation step and a rejected file's intact upload state is subsequently persisted by upload_file() without re-validation. Per the assessed vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), no credentials or user interaction are required (PR:N/UI:N) and the attack is fully remote (AV:N), but the non-default hidden File Upload field is a mandatory precondition; a secondary practical limiter is that code execution depends on the server actually executing the uploaded file type in the upload directory. No public exploit code and no CISA KEV entry were identified at time of analysis, yet the combination of unauthenticated access, arbitrary file write and PHP-execution potential makes this a high-priority fix for any installation that meets the precondition.
RemediationAI
Upgrade Gravity Forms to the latest release, verifying the fixed build via the vendor change log at https://docs.gravityforms.com/gravityforms-change-log/ - the provided data does not name a specific patched version, so treat the most recent release as the remediation target and confirm the fix note before deploying. In parallel, audit every form for File Upload fields whose Visibility is set to 'Hidden' and either remove those fields or change their visibility; this is the single control that closes the reachability precondition, at the cost of altering intended hidden-upload workflows. As a defense-in-depth compensating control, harden the uploads directory (typically wp-content/uploads) so that script execution is disabled - for example, deny PHP handler execution for that path in Apache/nginx/OpenLiteSpeed configuration, or move uploads outside the document root; the trade-off is that few plugins rely on direct execution of uploaded files, but legitimate upload workflows should be tested after the change. Additionally, enforce a strict server-side allowlist of safe file extensions (images, PDFs, office documents) and monitor the uploads directory for newly written script files, since successful RCE hinges on the server executing the uploaded type. Also review the remaining advisory details at https://www.wordfence.com/threat-intel/vulnerabilities/id/787e22a9-329b-4e71-bc2a-4f5524fc9356?source=cve.
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
Gravity Forms is a widely deployed commercial WordPress form plugin that handles multi-step form processing, field validation and file persistence. The flaw maps to CWE-434 (Unrestricted Upload of File with Dangerous Type) and stems from an architectural mismatch between two pipelines: the field validation pipeline (which enforces allowed extensions) and the file persistence pipeline (upload_file()), which writes the file to disk. When a File Upload field is configured with Visibility = 'Hidden', the hidden field bypasses the extension check; the upload state retained for a rejected file is then handed to upload_file() without being re-validated, so a file with an executable extension can be written into the WordPress uploads directory. Underlying technology is PHP/WordPress, with the CPE cpe:2.3:a:gravity_forms:gravity_forms:*:*:*:*:*:*:*:* covering all versions up to and including 3.1.0.4; reachability requires a file upload field present on a publicly accessible form. The vendor-issued CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) treats the attack as low complexity, while our independent assessment raises attack complexity to High (AC:H) because exploitation is gated on the non-default hidden upload field configuration, leaving base impact unchanged.
Know when Gravity Forms 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:U/C:H/I:H/A:H
Unauthenticated remote upload-to-RCE gives full C/I/A, but the required non-default 'Hidden' File Upload field is a target-state precondition outside attacker control, justifying AC:H over the vendor's AC:L.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Gravity Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 3.1.0.4 via the upload_file function. This is due to a mismatch between the field validation pipeline and the file persistence pipeline, where hidden file upload fields bypass extension validation and a rejected file's intact upload state is later passed to upload_file() without re-validation. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Exploitation requires the targeted form to contain a File Upload field with its Visibility set to 'Hidden'; the vulnerability is reachable by unauthenticated attackers on any publicly accessible form meeting this condition.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-434, Unrestricted Upload of File with Dangerous Type.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from github, nuclei, plus 1 unverified
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Sites running Gravity Forms through version 3.1.0.4 with a publicly reachable form containing a hidden File Upload field are exposed to unauthenticated remote code execution, which could enable an attacker to take control of affected WordPress installations and access or alter sensitive data. There is no public exploit identified at time of analysis and no vendor-released patch identified at time of analysis, but the critical severity and potential for full site compromise make this a priority for leadership to address through immediate inventory and mitigation of impacted sites.
No vendor-released patch identified at time of analysis. Interim mitigations include removing or changing the Visibility setting of File Upload fields on publicly reachable Gravity Forms forms, disabling the Gravity Forms plugin if not essential, blocking PHP execution in wp-content/uploads, deploying WAF rules to block malicious upload requests to Gravity Forms endpoints, and monitoring for webshells or unexpected file changes; apply vendor patch when released.
Threat Model
4 threats: Elevation of Privilege, Tampering, Information Disclosure and 1 more
6-step attack chain with trust boundaries and controls
Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Gravity Forms
View allThe Clockwork SMS clockwork-test-message.php component has XSS via a crafted "to" parameter in a clockwork-test-message
The Gravity Forms WordPress plugin before 2.7.5 does not escape generated URLs before outputting them in attributes, lea
Unauthenticated PHP object injection in the Gravity Forms WordPress plugin, affecting every version up to and including
Deserialization of Untrusted Data vulnerability in Rocketgenius Inc. Rated high severity (CVSS 8.3), this vulnerability
Arbitrary file upload in Gravity Forms for WordPress (all versions ≤ 3.0.2) allows unauthenticated attackers to write PH
Arbitrary file disclosure in the Gravity Forms WordPress plugin (all versions through 2.10.4) lets unauthenticated attac
Stored cross-site scripting in the Gravity Forms WordPress plugin through 3.1.2 allows unauthenticated form submitters t
Stored cross-site scripting in the Gravity Forms plugin for WordPress, affecting all versions up to and including 3.1.1,
Stored Cross-Site Scripting in the Gravity Forms WordPress plugin (all versions ≤2.10.5) permits unauthenticated attacke
Stored cross-site scripting (XSS) in Gravity Forms WordPress plugin versions ≤2.10.0 allows remote unauthenticated attac
Stored Cross-Site Scripting in Gravity Forms plugin for WordPress through version 2.10.0 allows unauthenticated remote a
Stored XSS in Gravity Forms for WordPress ≤2.10.0 allows unauthenticated remote attackers to inject malicious JavaScript
EUVD-2026-83472
GHSA-x9x4-5g6j-pvj3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB