BreachSpiderVerified, not vibes

CVE-2025-12974 in Gravityforms Gravity Forms

High 8.1

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

Affects 1 product from 3 vendors. Facts below cite their sources.

CVSS 3.18.1
EPSS1.2%
EPSS percentile68th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gravityforms Gravity Forms ≤ 2.9.21.1
Plugin — —
Wordpress — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-12974
BreachSpider IDBS-2025-GLOBAL-231843-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2025-11-18
Last modified2026-10-19
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The Gravity Forms plugin for WordPress is vulnerable to arbitrary file uploads due to a missing file type validation in the legacy chunked upload mechanism, allowing unauthenticated attackers to upload executable files.

The vulnerability exists in the legacy chunked upload mechanism of the Gravity Forms plugin, where the file extension blacklist does not include .phar files. This allows attackers to upload malicious files, potentially leading to remote code execution.

Questions

What is CVE-2025-12974?

The Gravity Forms plugin for WordPress is vulnerable to arbitrary file uploads due to a missing file type validation in the legacy chunked upload mechanism, allowing unauthenticated attackers to upload executable files.

What is the CVSS score for CVE-2025-12974?

CVE-2025-12974 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.2%.

Is CVE-2025-12974 actively exploited?

No confirmed active exploitation of CVE-2025-12974 as of 2026-10-25.

How do I remediate CVE-2025-12974?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-12974?

CVE-2025-12974 affects Gravityforms Gravity Forms; Plugin; Wordpress.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gravityforms","product":"Gravity Forms","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.