Gravity Forms <= 2.9.30 - Unauthenticated Stored Cross-Site Scripting via Credit Card 'Card Type' Sub-Field
Summary
| CVE | CVE-2026-4394 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-08 00:16:05 UTC |
| Updated | 2026-04-08 21:26:35 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.000840000 probability, percentile 0.244420000 (date 2026-04-14)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Gravity Forms | Gravity Forms | affected 2.9.30 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/fields/class-gf-field-cre... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gravityforms/tags/2.9.25/includes/fields/class-gf-fie... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gravityforms/tags/2.9.25/includes/fields/class-gf-fie... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/fields/class-gf-field-cre... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/6f38d7b7-6df6-47a2-a9ba-87ef1... | [email protected] | www.wordfence.com | |
| docs.gravityforms.com/gravityforms-change-log | [email protected] | docs.gravityforms.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: tadokun (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-03-18T15:53:51.000Z | Vendor Notified |
| CNA | 2026-04-07T10:47:07.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.