CVE-2025-12974

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

No configuration.

History

19 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) El plugin Gravity Forms para WordPress es vulnerable a la carga arbitraria de archivos debido a la falta de validación del tipo de archivo en el mecanismo de carga por fragmentos (chunked upload) heredado en todas las versiones hasta la 2.9.21.1, inclusive. Esto se debe a que la lista negra de extensiones no incluye archivos .phar, los cuales pueden ser cargados a través del mecanismo de carga por fragmentos. Esto hace posible que atacantes no autenticados carguen archivos .phar ejecutables y logren la ejecución remota de código en el servidor, siempre que puedan descubrir o enumerar la ruta de carga. Para que un atacante logre RCE, el servidor web debe estar configurado para procesar archivos .phar como PHP a través de la asignación de manejadores de archivos o similar.

18 Nov 2025, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-18 04:15

Updated : 2026-10-19 13:10


NVD link : CVE-2025-12974

Mitre link : CVE-2025-12974

CVE.ORG link : CVE-2025-12974


JSON object : View

Products Affected

No product.

CWE
CWE-434

Unrestricted Upload of File with Dangerous Type