Arbitrary file upload in Gravity Forms
CVE-2025-12352
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
Vulnerability class: Unrestricted File Upload
EPSS: 0.010 (58.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Gravity Forms — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-12352?
- CVE-2025-12352 is a critical-severity vulnerability in Gravity Forms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2025-11-07.
- How severe is CVE-2025-12352?
- Critical severity. CVSS v3 base score is 9.8 out of 10.