Radar sectionsDatabase
Check my site
WordPress plugin

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

CVE-2025-12352Published · Updated

Action summary

Affected: ≤2.9.20Update to 2.9.21 or newer

All remediation steps
Critical9.8CVSS 3.19.8CISA KEVNot listedAccessNo account needed

Overview

Advisory ID
CVE-2025-12352
Product
Gravity Forms gravityforms
Affected
≤2.9.20
Fixed in
2.9.21
Required access
No account needed
Published
· updated
Credit
Talal Nasraddeen
  1. Affected≤ 2.9.20
  2. Patched in2.9.21

Update to 2.9.21 or newer.

9.8
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:N Privileges required
None
UI:N User interaction
None
S:U Scope
Unchanged
C:H Confidentiality
High
I:H Integrity
High
A:H Availability
High

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

Not sure which version you run? Run a passive check — it reads public files only.

Remediation & mitigations

  1. Update to version 2.9.21, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.

References & provenance

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

Related CVEs

More vulnerabilities in Gravity Forms
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored Cross-Site Scripting via Post Excerpt / Post Custom Field / Rich-Text Paragraph Field Values
≤3.1.1Update to 3.1.2
CVE-2026-90437
Critical9.8Unauthenticated PHP Object Injection via Post Custom Field
≤3.1.2Update to 3.1.3
CVE-2026-103039
High7.2Unauthenticated Stored Cross-Site Scripting via List Field
≤3.1.2Update to 3.1.3
CVE-2026-97645
High8.1Unauthenticated PHP Object Injection
<3.1.1Update to 3.1.1
CVE-2026-97296
Critical9.8Unauthenticated Arbitrary File Upload via Hidden File Upload Field
≤3.1.0.4Update to 3.1.1
CVE-2026-84434
Other Arbitrary File Upload vulnerabilities
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored DOM-Based Cross-Site Scripting via Image Alt Attribute in .wp-caption ContainersCVE-2026-120687
Medium6.4Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Popup' Shortcode Attribute via Profile Video
FV Player 8≤8.1.9Update to 8.2.0
CVE-2026-110531
Medium5.4Unauthenticated Stored Cross-Site Scripting via 'title' Attribute of [bf_login_form] Shortcode
BuddyForms≤2.10.6Update to 2.10.7
CVE-2026-127115
High7.2Unauthenticated Stored Cross-Site Scripting via Multipart Field Name
Multi Step for Contact Form 7≤2.9.1Update to 2.9.2
CVE-2026-116753

Timeline

  1. CVE published

    Severity critical, CVSS 9.8

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?