CVE-2026-97645

Gravity Forms <= 3.1.2 - Unauthenticated Stored Cross-Site Scripting via List Field

Published Oct 30, 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 via List Field in all versions up to, and including, 3.1.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the administrator to click the injected link in the entry detail view and confirm a dialog, which triggers the admin JavaScript bundle's delegated data-dialog-callback handler to invoke the attacker-supplied function reference.

Analysis

AI-generated

Technical impact

Gravity Forms for WordPress is vulnerable to a stored cross‑site scripting flaw in all releases up to and including 3.1.2. The vulnerability arises from insufficient sanitization of list field input and inadequate output escaping of that data. When a list field entry is stored, an attacker can embed arbitrary JavaScript. The stored script is not executed immediately; it is triggered when an administrator opens the entry detail view, clicks the injected link, and confirms a dialog prompt. At that moment the admin interface’s JavaScript bundle runs the attacker‑supplied function reference, causing the injected code to execute in the context of the admin UI.

Affected Systems

All WordPress sites that employ the Gravity Forms plugin version 3.1.2 or earlier, regardless of the number of users or the specific WordPress configuration.

Risk and Exploitability

The CVSS base score of 7.2 indicates high severity. No EPSS data is available, so the exact probability of exploitation cannot be quantified. The flaw does not require attacker authentication, but it does rely on an administrator interacting with a link and confirming a dialog – a relatively low‑effort user‑assisted execution path. Because the vulnerability is present in a widely deployed plugin and the payload persists in the database, it can affect any user that views the injected entry, but it only compromises the site’s administrative interface. The flaw is not listed in CISA’s KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Gravity Forms plugin to version 3.2 or later, which removes the vulnerable list field handling.
  • If an immediate upgrade is not possible, remove or disable all list fields that accept untrusted input and manually delete or sanitize any stored entries containing the injected script.
  • Implement site‑wide content‑security policies or use a security plugin to enforce output escaping for user‑generated content to reduce the risk of similar XSS issues in the future.

Generated by OpenCVE AI on October 30, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gravityforms
Gravityforms gravity Forms
Wordpress-extensions
Wordpress-extensions gravity Forms
Vendors & Products Gravityforms
Gravityforms gravity Forms
Wordpress-extensions
Wordpress-extensions gravity Forms
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via List Field in all versions up to, and including, 3.1.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the administrator to click the injected link in the entry detail view and confirm a dialog, which triggers the admin JavaScript bundle's delegated data-dialog-callback handler to invoke the attacker-supplied function reference.
Title Gravity Forms <= 3.1.2 - Unauthenticated Stored Cross-Site Scripting via List Field
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
Oct 30, 2026, 3:57 PM
Reserved
Sep 24, 2026, 6:38 PM
Status
Deferred
Published
Oct 30, 2026, 7:16 AM
Modified
Oct 30, 2026, 4:18 PM