CVE-2025-12352 CRITICAL

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

Vendor Gravity Forms
Product Gravity Forms
Weakness CWE-434 · Unrestricted file upload
Published November 7, 2025
Last update April 8, 2026

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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

Explanation of Vulnerability in Simple Terms

02Summary

Gravity Forms versions 2.9.20 and earlier contain an unrestricted file upload vulnerability. An attacker can upload arbitrary files to the server without authentication, potentially allowing them to run malicious code or compromise the site. This affects all installations of the affected versions and requires immediate patching.

What an attacker can do

03Attacker Capabilities

Upload arbitrary files to the server and execute malicious code without authentication.

Potential impact on your site

04Site Impact

Attackers can take full control of your site, steal data, or use it to attack visitors.

Conditions required to exploit

05Prerequisites

Network access only; no authentication or user interaction required.

Key dates

06Disclosure timeline

November 7, 2025 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE