CVE-2025-12974 Details
Description
The Gravity Forms plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the legacy chunked upload mechanism in all versions up to, and including, 2.9.21.1. This is due to the extension blacklist not including .phar files, which can be uploaded through the chunked upload mechanism. This makes it possible for unauthenticated attackers to upload executable .phar files and achieve remote code execution on the server, granted they can discover or enumerate the upload path. In order for an attacker to achieve RCE, the web server needs to be set up to process .phar file as PHP via file handler mapping or similar.
A vulnerability in the Gravity Forms plugin for WordPress, present in all versions through 2.9.21.1, allows for arbitrary file uploads. This issue arises from inadequate file type validation in the legacy chunked upload mechanism, specifically because the extension blacklist does not include .phar files. Unauthenticated attackers can exploit this to upload executable .phar files, potentially leading to remote code execution on the server, provided they can identify or enumerate the upload path. For remote code execution to be successful, the web server must be configured to process .phar files as PHP.
Users are advised to update the Gravity Forms plugin to version 2.9.22 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2025CISA-ADP
Assessed Nov 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Gravity Forms | <= 2.9.21.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2025 | New CVE Received | [email protected] |
Volerion