Skip to main content

WordPress CVE-2026-4394

| EUVDEUVD-2026-19990 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-08 security@wordfence.com GHSA-5pv5-mj98-fr8x
6.1
CVSS 3.1 · Vendor: wordfence
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents moderate real-world risk despite the 6.1 CVSS score. The attack requires user interaction (UI:R) from an administrator viewing the entry, and the impact is limited to information disclosure and minor modifications (C:L/I:L/A:N). However, several factors elevate practical concern: the attack is unauthenticated (PR:N) and requires only network access (AV:N) with low complexity (AC:L), and the attacker has direct control over injection point via HTTP POST. The stored nature of the XSS means the attack payload persists and can target all administrators who view that specific form entry. The WordPress admin dashboard is a high-value target, and stored XSS vulnerabilities are generally easier to exploit at scale than reflected variants. The vulnerability affects a widely-deployed plugin (Gravity Forms is one of WordPress's most popular form builders), multiplying exposure across thousands of sites. No EPSS or CISA KEV status provided in input; however, the straightforward exploitation chain and public disclosure via Wordfence suggests this is likely to see rapid weaponization. Priority should be elevated beyond the CVSS score due to ubiquity of affected software and administrative access context.

Exploit ScenarioDerived

An unauthenticated attacker submits a credit card form on a vulnerable WordPress site, but instead of following the normal frontend flow, crafts a direct POST request with malicious JavaScript embedded in the Card Type sub-field parameter (e.g., input_<id>.4=<img src=x onerror='steal_admin_cookies()'>). The backend blindly accepts and stores this value. When a site administrator views the form entry details in the WordPress dashboard, the stored payload executes in their browser context, allowing the attacker to steal session cookies, modify form data, create backdoor accounts, or perform other administrative actions. No exploit code need be sophisticated; a simple form submission with HTML payload suffices due to the lack of input validation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Stored cross-site scripting in Gravity Forms plugin for WordPress up to version 2.9.30 allows unauthenticated attackers to inject malicious scripts via the Credit Card field's 'Card Type' sub-field. The vulnerability exploits a gap between frontend validation (Card Type is auto-derived from card number) and backend acceptance of unsanitized POST parameters, combined with unescaped output when administrators view form entries in the WordPress dashboard. Attackers can craft POST requests containing malicious JavaScript in the input_<id>.4 parameter, which is stored and executed with administrator privileges upon dashboard access.

RemediationAI

Update Gravity Forms plugin to a patched version released after 2.9.30. Administrators should check the official Gravity Forms change log at https://docs.gravityforms.com/gravityforms-change-log/ for the first patched release and upgrade immediately. The fix requires both sanitization of the input_<id>.4 POST parameter in get_value_save_entry() and HTML escaping of the card type value in get_value_entry_detail(). As an interim mitigation while waiting for updates, restrict WordPress dashboard access to trusted administrators only, and consider disabling the Credit Card field if not in active use. WordPress site administrators should enable automatic plugin updates if feasible, and monitor the Wordfence vulnerability intelligence feed for confirmation of patch availability.

Affected VersionsENISA

Gravity Forms 0 ≤2.9.30

Affected Packages

euvd gravity_forms no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the GF_Field_CreditCard class within the Gravity Forms WordPress plugin. The root cause involves two distinct code paths: the get_value_save_entry() method accepts and stores unsanitized user input from the input_<id>.4 POST parameter without validation or sanitization, while the get_value_entry_detail() method retrieves and outputs this stored value in the WordPress admin dashboard without HTML escaping (CWE-79: Improper Neutralization of Input During Web Page Generation). The Card Type field is intended to be automatically determined from the card number on the frontend, creating an information asymmetry where the backend accepts data the frontend never intended to collect. The Wordfence intelligence references point to specific unescaped output at line 516 and unsanitized input acceptance at line 577 in the class-gf-field-creditcard.php file, confirming the dual-vulnerability pattern (improper input validation combined with improper output encoding).

Know when WordPress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (wordfence) · only source for this CVE.

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Credit Card field's 'Card Type' sub-field (input_<id>.4) in all versions up to, and including, 2.9.30. This is due to the get_value_entry_detail() method in the GF_Field_CreditCard class outputting the card type value without escaping, combined with get_value_save_entry() accepting and storing unsanitized user input for the input_<id>.4 parameter. The Card Type field is not rendered on the frontend form (it is normally derived from the card number), but the backend submission parser blindly accepts it if included in the POST request. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the form entry in the WordPress dashboard.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Related Vulnerabilities in Gravity Forms WordPress Plugin XSS Vulnerabilities

View all 2
CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy