CVE-2026-5111: Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Hidden Product Field in Repeater
The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 2.10.0. This is due to insufficient input validation and output escaping on Hidden Product field values when used inside Repeater fields, where repeater subfields bypass state validation checks and the Hidden Product validate() method only validates the quantity field while ignoring the product name field that is later output without proper escaping in the getvalueentrydetail() method. This makes it possible for unauthenticated attackers to inject arbitrary web scripts through form submissions that will execute whenever an administrator views the entry details.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-5111?
CVE-2026-5111 is classified as a high severity vulnerability due to its potential for exploitation via stored cross-site scripting.
What does CVE-2026-5111 affect?
CVE-2026-5111 affects all versions of the Gravity Forms plugin for WordPress up to and including version 2.10.0.
How do I fix CVE-2026-5111?
To fix CVE-2026-5111, upgrade the Gravity Forms plugin to version 2.10.1 or later.
What type of vulnerability is CVE-2026-5111?
CVE-2026-5111 is a stored cross-site scripting (XSS) vulnerability.
What causes CVE-2026-5111?
CVE-2026-5111 is caused by insufficient input validation and output escaping in the Gravity Forms plugin.