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

Published Nov 18, 2025
·
Updated

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.

Affected Software

1 affected component
Gravity Forms Gravity Forms<=2.9.21.1

Event History

Nov 18, 2025
CVE Published
via MITRE·03:27 AM
Data Sourced
via MITRE·03:27 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-12974?

CVE-2025-12974 is considered a high-severity vulnerability due to the potential for arbitrary file uploads.

2

How do I fix CVE-2025-12974?

To fix CVE-2025-12974, update the Gravity Forms plugin to the latest version that addresses the file type validation issue.

3

Which versions are affected by CVE-2025-12974?

CVE-2025-12974 affects all versions of Gravity Forms up to and including 2.9.21.1.

4

What types of files can be uploaded due to CVE-2025-12974?

Due to CVE-2025-12974, attackers can exploit the vulnerability to upload .phar files, among other unvalidated file types.

5

Is the Gravity Forms plugin safe to use in its affected versions?

Using the affected versions of the Gravity Forms plugin poses significant security risks, and it is recommended to update immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203