Patchfirst
CVE-2025-12352 Critical · 9.8 EPSS 1.1%

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

No fixed version listed yet.Check the vendor advisory. References ↓

Gravity Forms · Gravity Forms

Summary

The Gravity Forms WordPress plugin, in all versions up to and including 2.9.20, lacks file type validation in its copy_post_image() function, which allows arbitrary file uploads. An unauthenticated attacker with network access can exploit this to place files on the server, potentially enabling remote code execution, but only where allow_url_fopen is On and a post creation form with a file upload field is enabled.

Official description · CVE.org

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

Breakdown
61.4 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 8 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+8 mo

Affected versions and fixes

as published in the CVE record

Gravity Forms Gravity Forms

Affected: <= 2.9.20

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close