CVE-2025-12352
Gravity Forms <= 2.9.20 - Unauthenticated Arbitrary File Upload via 'copy_post_image'
No known exploitation. EPSS puts it in the 63rd percentile. No fix published yet.
What to do
No fixed build or workaround is published yet. Limit exposure and watch for a patch.
Steps
Written by AI from the record- Check your WordPress site for the installed Gravity Forms version (confirm whether it is 2.9.20 or earlier).
- Check whether “post creation” is enabled in Gravity Forms and that the relevant form includes a file upload field.
- Check your PHP setting allow_url_fopen; if it is “On”, your risk is higher for this issue.
- If all of the above are true, disable the affected Gravity Forms post creation/file-upload capability immediately (temporarily remove the file upload field and/or disable post creation).
- Contact your Gravity Forms/WordPress vendor or IT team to obtain an official fix for CVE-2025-12352; this report does not include a known fixed version you can upgrade to right now.
- If you cannot quickly remediate, restrict access to the affected upload functionality (e.g., network/WAF rules or access controls) until the plugin can be fixed.
What it is
From the CVE record
The Gravity Forms plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the copy_post_image() function in all versions up to, and including, 2.9.20. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. This only impacts sites that have allow_url_fopen set to `On`, the post creation form enabled along with a file upload field for the post
In plain language
Written by AI from the recordGravity Forms (up to 2.9.20) lets an attacker upload files to your WordPress server without logging in, which can be a serious problem if your site has the required post-creation file upload setup—this is urgent for affected sites.
In Gravity Forms <= 2.9.20, missing file type validation in copy_post_image() enables unauthenticated arbitrary file upload over the network; with allow_url_fopen enabled and a post-creation form that includes a file upload field, this can lead to server compromise.
If you're affected
- Server takeover
- Malware or webshell upload
- Customer data exposure
- Website and service disruption
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
1.1% chance of exploitation activity in the next 30 days, which ranks it in the 63rd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
5 events over 119 days, from the signal feeds we watch.
- Nuclei check added
- Record updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Command and ControlT1105Ingress Tool Transferhigh confidence
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- PersistenceT1505Server Software Componenthigh confidence
Sources
References in the record
- wordfence.com/threat-intel/vulnerabilities/id/42525101-6196-40b9-90e7-c7f1886ef247?source=cve
- github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/includes/fields/class-gf-field-fileupload.php
- github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/forms_model.php
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Gravity Forms, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI