{"id":"CVE-2025-12974","aliases":["CVE-2025-12974"],"related":[],"kind":"vulnerability","state":"published","title":"Gravity Forms <= 2.9.21.1 - Unauthenticated Arbitrary File Upload via Legacy Chunked Upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-11-18T03:27:07.110Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.9.21.1","status":"affected"}],"vendor":"Gravity Forms","product":"Gravity Forms","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b6395439-da45-4b64-8e30-b106dffd46c1?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/includes/upload.php#L97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/pronamic/gravityforms/blob/06de1b7e169e4f073e9d0d491e17b89365b48c20/common/common.php#L4178","tags":[],"sources":["cvelist","nvd"]},{"url":"https://docs.gravityforms.com/gravityforms-change-log/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Talal Nasraddeen"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-18T15:04:01.244Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12974","url":"https://www.cve.org/CVERecord?id=CVE-2025-12974","licence":"CVE Terms of Use","modified":"2026-04-08T17:17:23.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12974","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12974","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.744Z","epss":{"score":0.00717,"percentile":0.55074,"date":"2026-12-02T12:00:21.000Z"}}