Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://docs.gravityforms.com/gravityforms-change-log/
- https://plugins.trac.wordpress.org/browser/gravityforms/tags/2.9.25/includes/fie
- https://plugins.trac.wordpress.org/browser/gravityforms/tags/2.9.25/includes/fie
- https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/fields/cl
- https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/fields/cl
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6f38d7b7-6df6-47a2-a9b
FAQ
What is CVE-2026-4394?
CVE-2026-4394 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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. Thi...
How severe is CVE-2026-4394?
CVE-2026-4394 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4394?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.