Arbitrary File Upload Vulnerability in Gravity Forms Plugin by WordPress
CVE-2025-12974

8.1HIGH

Key Information:

Vendor

WordPress

Vendor
CVE Published:
18 November 2025

What is CVE-2025-12974?

The Gravity Forms plugin for WordPress exhibits a security vulnerability that allows for arbitrary file uploads due to inadequate file type validation within its legacy chunked upload mechanism. This issue affects all versions up to and including 2.9.21.1. Specifically, the extension blacklist fails to account for .phar files, enabling unauthenticated attackers to upload malicious executable files. If the web server is configured to process .phar files as PHP, this vulnerability could lead to remote code execution, contingent on the attacker identifying or enumerating the upload path.

Affected Version(s)

Gravity Forms * <= 2.9.21.1

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Talal Nasraddeen
.
CVE-2025-12974 : Arbitrary File Upload Vulnerability in Gravity Forms Plugin by WordPress