# CVE-2025-12352: Gravity Forms <= 2.9.20 - Unauthenticated Arbitrary File Upload via 'copy_post_image'

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2025-11-07T04:28:53.882Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

## Description

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

(As written by CVE List.)

## Affected

- Gravity Forms Gravity Forms: up to 2.9.20

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/42525101-6196-40b9-90e7-c7f1886ef247?source=cve>
- <https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/includes/fields/class-gf-field-fileupload.php#L306>
- <https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/forms_model.php#L5451C26-L5451C41>

## Sources

- CVE List: [CVE-2025-12352](https://www.cve.org/CVERecord?id=CVE-2025-12352), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-12352](https://nvd.nist.gov/vuln/detail/CVE-2025-12352), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-12352 · Whole record: https://cve.day/CVE-2025-12352.json · Rebuilt by cve.day 2026-11-25T22:59:07.329Z
