Home

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

PUBLISHED Reserved 2025-10-27 | Published 2025-11-07 | Updated 2025-11-07 | Assigner Wordfence




CRITICAL: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-434 Unrestricted Upload of File with Dangerous Type

Product status

Default status
unaffected

* (semver)
affected

Timeline

2025-10-22:Discovered
2025-10-27:Vendor Notified
2025-11-06:Disclosed

Credits

Talal Nasraddeen finder

References

www.wordfence.com/...-6196-40b9-90e7-c7f1886ef247?source=cve

github.com/.../includes/fields/class-gf-field-fileupload.php

github.com/...9e4f073e9d0d491e17b89365b48c20/forms_model.php

cve.org (CVE-2025-12352)

nvd.nist.gov (CVE-2025-12352)

Download JSON