# CVE-2025-12974: Gravity Forms <= 2.9.21.1 - Unauthenticated Arbitrary File Upload via Legacy Chunked Upload

- Severity: High 8.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-02)
- Published: 2025-11-18T03:27:07.110Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- Gravity Forms Gravity Forms: up to 2.9.21.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/b6395439-da45-4b64-8e30-b106dffd46c1?source=cve>
- <https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/includes/upload.php#L97>
- <https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/common/common.php#L4178>
- <https://docs.gravityforms.com/gravityforms-change-log/>

## Sources

- CVE List: [CVE-2025-12974](https://www.cve.org/CVERecord?id=CVE-2025-12974), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-12974](https://nvd.nist.gov/vuln/detail/CVE-2025-12974), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-12974 · Whole record: https://cve.day/CVE-2025-12974.json · Rebuilt by cve.day 2026-11-25T22:59:07.744Z
