CVE-2026-5109

Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Product Option

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 validation and output escaping of Product Option field values. The vulnerability exists because the state validation function accepts submitted values where the wp_kses()-sanitized version matches a legitimate option value, but then stores the raw unsanitized value in the database. When administrators view entry details via the Order Summary section, the option_label is output directly without escaping (view-order-summary.php line 32), executing the injected JavaScript. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in entry data that will execute whenever an administrator accesses the entry details page.

Analysis

AI-generated

Technical impact

The Gravity Forms WordPress plugin is vulnerable to stored cross‑site scripting in versions up to and including 2.10.0 because it fails to properly sanitize and escape Product Option field values. An attacker can submit a malicious script that is saved in the database, and when an administrator opens the entry details page the injected JavaScript executes in the administrator’s browser.

Affected Systems

Gravity Forms plugin for WordPress, versions 2.10.0 and earlier. Any installation of the affected plugin that contains a Product Option field is susceptible.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity. The vulnerability can be exploited by any unauthenticated user who can submit a form containing a malicious Product Option. The attacker need only interact with the public site; no special environment or additional privileges are required. Because the vulnerability is not listed in the CISA KEV catalogue and no exploit has been publicly disclosed, the likelihood of exploitation is uncertain, but the high severity and ease of exploitation warrant prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gravity Forms to a version newer than 2.10.0
  • Disable or delete unused Product Option fields to reduce exposure
  • Remove any malicious script entries from existing database records

Generated by OpenCVE AI on May 2, 2026 at 11:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', '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 validation and output escaping of Product Option field values. The vulnerability exists because the state validation function accepts submitted values where the wp_kses()-sanitized version matches a legitimate option value, but then stores the raw unsanitized value in the database. When administrators view entry details via the Order Summary section, the option_label is output directly without escaping (view-order-summary.php line 32), executing the injected JavaScript. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in entry data that will execute whenever an administrator accesses the entry details page.
Title Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Product Option
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, 3:57 PM
Reserved
Mar 29, 2026, 8:51 PM
Status
Deferred
Published
May 2, 2026, 6:16 AM
Modified
Jun 17, 2026, 10:58 AM