Gravity Forms Stored Cross-Site Scripting Vulnerability for WordPress

Vulnerability

A stored cross-site scripting vulnerability has been identified in the Gravity Forms plugin for WordPress, affecting all versions through 2.9.28.1. The issue arises from a combination of factors: the 'create_from_template' AJAX endpoint lacks proper authorization, allowing any authenticated user to create forms; input sanitization is inadequate, as the 'sanitize_text_field()' function does not properly handle single quotes; and there is a failure to escape output when form titles are displayed in the Form Switcher dropdown. This vulnerability enables authenticated attackers with Subscriber-level access or higher to inject arbitrary JavaScript, which executes when an Administrator searches in the Form Switcher dropdown within the Form Editor.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected JavaScript is executed in the context of the user viewing the affected form.

Remediation

Users are advised to update the Gravity Forms plugin to version 2.9.29 or a newer patched version.

Added: Mar 11, 2026, 10:19 AM
Updated: Mar 11, 2026, 10:19 AM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
5.4
exploitability
5.2
remediation
7.7
relevance
3.8
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.