XSS in Gravity Forms
CVE-2026-4394
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (29.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 30th percentile — 29.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Gravity Forms — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/6f38d7b7-6df6-47a2-a9ba-87ef1…
- plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/fields/class-gf-…
- plugins.trac.wordpress.org/browser/gravityforms/tags/2.9.25/includes/fields/cla…
- plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/fields/class-gf-…
- plugins.trac.wordpress.org/browser/gravityforms/tags/2.9.25/includes/fields/cla…
- docs.gravityforms.com/gravityforms-change-log/
Frequently asked questions
- What is CVE-2026-4394?
- CVE-2026-4394 is a medium-severity vulnerability in Gravity Forms, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-04-08.
- How severe is CVE-2026-4394?
- Medium severity. CVSS v3 base score is 6.1 out of 10.