SecurityContext

CVE-2025-12974: Gravity Forms WordPress Plugin - Unrestricted File Upload & Remote Code Execution

  • Cve: CVE-2025-12974
  • Name: Gravity Forms WordPress Plugin - Unrestricted File Upload & Remote Code Execution
  • 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.
  • Impact: Unauthenticated attackers can upload executable files and achieve remote code execution if the server processes .phar files as PHP.
  • Remediation: Update to the latest version of Gravity Forms plugin.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, unrestricted_file_upload
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00717
  • Epss percentile: 0.54751
  • Assignee: [email protected]
  • Published at: 2025-11-18T04:15:43Z
  • Age in days: 371
  • Modified at: 2026-10-19T13:10:00Z
  • References total: 5
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12974
  • Nvd status: deferred
  • Checked, none or zero: patch available, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2025-11-17—no

References

UrlSourceTags
https://patchstack.com/database/wordpress/plugin/gravityforms/vulnerability/wordpress-gravity-forms-plugin-2-9-21-1-unauthenticated-arbitrary-file-upload-via-legacy-chunked-upload-vulnerabilityvulncheckVulncheck Reported Exploitation
https://docs.gravityforms.com/gravityforms-change-log/nvd
https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/common/common.php#L4178nvd
https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/includes/upload.php#L97nvd
https://www.wordfence.com/threat-intel/vulnerabilities/id/b6395439-da45-4b64-8e30-b106dffd46c1?source=cvenvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2025-11-17
  • Remote: yes
  • Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts