CVE-2026-5111

Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Hidden Product Field in Repeater

Published May 2, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
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 get_value_entry_detail() 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.

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting flaw that originates from the Hidden Product field inside Repeater subfields. When attackers submit a form, the product name is stored without proper validation or escaping, and later displayed within the form entry details. As a result, arbitrary scripts can execute whenever an administrator views the entry, allowing the attacker to run code in the context of the WP interface.

Affected Systems

The flaw affects the Gravity Forms plugin for WordPress versions 2.10.0 and earlier. Any site deploying Gravity Forms in those periods—particularly those using repeater fields with hidden product inputs—could be compromised. The vulnerability is exploitable during normal form usage and does not require elevated privileges to insert the malicious payload.

Risk and Exploitability

The CVSS score of 7.2 indicates a high‑severity condition. Because the flaw is unauthenticated and is triggered through publicly accessible forms, the likelihood of exploitation is significant, even though no EPSS figure is available. The attack vector is inferred to be remote via HTTP/S to the site’s WordPress frontend, and the issue is not noted in the CISA KEV catalog. Administrators should treat this as a serious risk requiring prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gravity Forms to a version newer than 2.10.0 to eliminate the vulnerable code paths.
  • Disable or limit public exposure of any forms that employ repeater fields with hidden product fields, or ensure that those fields are removed or properly escaped by custom code.
  • Review existing form entries for injected scripts and delete or sanitize any that contain suspicious content.

Generated by OpenCVE AI on May 2, 2026 at 10:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gravityforms
Gravityforms gravity Forms
Wordpress
Wordpress wordpress
Vendors & Products Gravityforms
Gravityforms gravity Forms
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description 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 get_value_entry_detail() 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.
Title Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Hidden Product Field in Repeater
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
May 4, 2026, 5:11 PM
Reserved
Mar 29, 2026, 9:39 PM
Status
Deferred
Published
May 2, 2026, 6:16 AM
Modified
Jun 17, 2026, 10:58 AM