Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.1

WordPress Gravity Forms plugin exposes sensitive data to attackers

CVE-2026-4394
Summary

The Gravity Forms plugin for WordPress has a security flaw that allows attackers to inject malicious code into form entries. This can lead to unauthorized access to sensitive information when an administrator views the form entry in the WordPress dashboard. To protect your site, update to the latest version of the plugin, 2.9.31 or later, as soon as possible.

Original title
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. ...
Original 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.
nvd CVSS3.1 6.1
Vulnerability type
CWE-79 Cross-site Scripting (XSS)
Published: 8 Apr 2026 · Updated: 8 Apr 2026 · First seen: 8 Apr 2026