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.
Published: 2026-09-05
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on September 5, 2026 at 07:23 UTC.

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Sat, 05 Sep 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Gravityforms
Gravityforms gravity Forms
Wordpress
Wordpress wordpress
Vendors & Products Gravityforms
Gravityforms gravity Forms
Wordpress
Wordpress wordpress

Sat, 05 Sep 2026 06:45:00 +0000

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'}


Subscriptions

Gravityforms Gravity Forms
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-05T06:37:56.017Z

Reserved: 2026-07-22T17:22:47.836Z

Link: CVE-2026-16649

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T07:17:10.917

Modified: 2026-09-05T07:17:10.917

Link: CVE-2026-16649

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T08:00:05Z

Weaknesses
  • CWE-79

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