CVE-2026-16649

Gravity Forms <= 2.10.5 - Unauthenticated Stored Cross-Site Scripting via Post Body Field Value

Published Sep 5, 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 Post Body Field Value in all versions up to, and including, 2.10.5 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. The exploit survives save-time sanitization because wp_kses_post allows the required HTML tags and attributes, and the client-side tooltip script re-parses the browser-decoded aria-label value as innerHTML while only stripping script elements, leaving onerror and other event-handler attributes fully intact and executable.

Analysis

AI-generated

Technical impact

Gravity Forms, a widely used WordPress form plugin, allows an attacker to store arbitrary scripts in the post body field value. The application fails to fully sanitize user input, meaning malicious code enters the post and is re‑parsed on the client side when a page is viewed. Once stored, any user who opens the affected page will have the malicious script executed in their browser.

Affected Systems

The vulnerability is present in all Gravity Forms releases up to and including version 2.10.5. WordPress sites that have this plugin installed and have enabled the post body field can be impacted.

Risk and Exploitability

The vulnerability has a CVSS v3 score of 7.2 and is listed as not being in the CISA KEV catalog. Attackers need only to craft a form submission containing malicious code; no authentication is required. Exploitation is likely to be observed if the plugin is enabled on a publicly reachable site, though no EPSS data is available. The stored nature of the flaw means the effect persists until the content is removed or the plugin is updated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gravity Forms to a version newer than 2.10.5 to remove the stored XSS flaw.
  • Sanitize or strip any existing post body field values that may contain untrusted code using a trusted HTML filter or by removing the field from exposed forms.
  • Review custom code that interacts with Gravity Forms to ensure that any data stored or displayed is properly escaped and that WordPress core is updated to keep overall application security strong.

Generated by OpenCVE AI on September 5, 2026 at 07:23 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 via Post Body Field Value in all versions up to, and including, 2.10.5 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. The exploit survives save-time sanitization because wp_kses_post allows the required HTML tags and attributes, and the client-side tooltip script re-parses the browser-decoded aria-label value as innerHTML while only stripping script elements, leaving onerror and other event-handler attributes fully intact and executable.
Title Gravity Forms <= 2.10.5 - Unauthenticated Stored Cross-Site Scripting via Post Body Field Value
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
Sep 8, 2026, 4:56 PM
Reserved
Jul 22, 2026, 5:22 PM
Status
Deferred
Published
Sep 5, 2026, 7:17 AM
Modified
Sep 8, 2026, 5:17 PM