CVE-2026-5109

7.2

Rocketgenius · Gravity Forms

Gravity Forms for WordPress is vulnerable to Stored Cross-Site Scripting via insufficient input validation and output escaping of Product Option field values.

Executive summary

The Gravity Forms plugin for WordPress contains a critical Stored Cross-Site Scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript in the context of an administrator session.

Vulnerability

The flaw exists because the plugin improperly validates Product Option field values, allowing raw, unsanitized data to be stored in the database. When an administrator views the Order Summary, the malicious script is rendered directly in the browser via view-order-summary.php, enabling unauthenticated remote code execution of scripts.

Business impact

This vulnerability carries a CVSS score of 7.2, reflecting a significant risk of administrative account compromise. Successful exploitation allows an attacker to hijack administrator sessions, potentially leading to full site takeover, unauthorized data exfiltration, or the injection of malicious content into the WordPress environment.

Remediation

Immediate Action: Update the Gravity Forms plugin to the latest version available from the vendor, which addresses the improper sanitization and output escaping flaws.

Proactive Monitoring: Review administrative audit logs for unusual entry access patterns or unauthorized modifications to order data.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to block malicious script injection attempts targeting common WordPress plugin parameters.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

Given the severity of this vulnerability and the potential for complete administrative compromise, all organizations utilizing the Gravity Forms plugin must prioritize patching. Verify the current version of the plugin immediately and apply the latest security update provided by Rocketgenius to eliminate the risk of Stored Cross-Site Scripting.

Sources

Originally found and disclosed by tadokun, per the CVE Program record.