Gravity Forms <= 2.9.20 - Unauthenticated Arbitrary File Upload via 'copy_post_image'

2025-11-06 16:28
Talal Nasraddeen

Strategic Overview

Status
Patched in 2.9.21
Affected PluginGravity Forms
Affected Version<= 2.9.20
CVSS9.8Critical
CVECVE-2025-12352
View all Gravity Forms vulnerabilities

Vulnerability Overview

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

Technical Analysis

REMEDIATION: Update to version 2.9.21, or a newer patched version --- IDENTIFIER: CWE-434 (Unrestricted Upload of File with Dangerous Type) The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C