Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Single Product Field Inside Repeater

7.2
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-5110
CVSS 7.2 (High)
Publicly Published May 1, 2026
Last Updated May 2, 2026
Researcher Luc Huynh from Noventiq RedTeam - Noventiq Vietnam

Description

The Gravity Forms plugin for WordPress is vulnerable to Unauthenticated Stored Cross-Site Scripting in versions up to and including 2.10.0. This is due to insufficient input validation and output escaping in the SingleProduct field when used inside a Repeater field. When SingleProduct fields are nested within Repeater fields, the validation flow bypasses the state validation mechanism (failed_state_validation()) that would normally prevent tampering with field values. The validate_subfield() method only calls the field's validate() method, which for SingleProduct fields only validates the quantity field and does not check the product name field for tampering. As a result, an attacker can inject arbitrary HTML and JavaScript into the product name field (input .1). This malicious input is then saved to the database without sanitization because sanitize_entry_value() returns raw values when HTML is not expected for the field type. When an administrator views the entry in wp-admin/admin.php?page=gf_entries, the get_value_entry_detail() method outputs the product name without escaping, causing the stored XSS payload to execute in the administrator's browser. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever an administrator accesses an entry containing the malicious payload.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Gravity Forms

Software Type Plugin
Software Slug gravityforms
Patched? Yes
Remediation Update to version 2.10.1, or a newer patched version
Affected Version
  • <= 2.10.0
Patched Version
  • 2.10.1

Recent vulnerabilities in Gravity Forms

# Title CVE ID CVSS Researchers Date
1 Gravity Forms <= 2.10.4 - Unauthenticated Arbitrary File Read via 'gform_uploaded_files' Parameter CVE-2026-12997 7.5 daroo July 15, 2026
2 Gravity Forms <= 2.10.0.1 - Unauthenticated Arbitrary File Deletion CVE-2026-48866 9.1 daroo June 1, 2026
3 Gravity Forms <= 2.9.30 - Unauthenticated Stored Cross-Site Scripting via Consent Field Hidden Input CVE-2026-5113 7.2 Luc Huynh from Noventiq RedTeam May 1, 2026
4 Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Product Option CVE-2026-5109 7.2 Luc Huynh from Noventiq RedTeam May 1, 2026
5 Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Hidden Product Field in Repeater CVE-2026-5111 7.2 Luc Huynh from Noventiq RedTeam May 1, 2026
6 Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Calculation Product Field in Repeater CVE-2026-5112 7.2 Luc Huynh from Noventiq RedTeam May 1, 2026
7 Gravity Forms <= 2.9.30 - Unauthenticated Stored Cross-Site Scripting via Credit Card 'Card Type' Sub-Field CVE-2026-4394 6.1 Luc Huynh from Noventiq RedTeam April 7, 2026
8 Gravity Forms <= 2.9.30 - Reflected Cross-Site Scripting via 'form_ids' Parameter CVE-2026-4406 4.7 Anthony Cihan (Hann1bl3L3ct3r) April 7, 2026
9 Gravity Forms <= 2.9.28.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Form Title CVE-2026-3492 6.4 h0xilo March 10, 2026
10 Gravity Forms <= 2.9.23.0 - Unauthenticated Arbitrary File Upload CVE-2025-13407 9.8 December 3, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation