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

Published Sep 5, 2026
·
Updated

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

Affected Software

1 affected component
Gravity Forms<=2.10.5

Event History

Sep 5, 2026
CVE Published
via MITRE·06:37 AM
Data Sourced
via MITRE·06:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An unauthenticated attacker can exploit it over the network without user interaction or prior privileges. Exploitation requires the attacker to submit a malicious value through a Post Body field.

2

Who is exposed to the injected script?

The script executes when a user accesses a page containing the injected content. The vulnerability can affect confidentiality and integrity in the context of the user viewing that page.

3

Are standard save-time content filters sufficient to prevent exploitation?

No. The payload can survive save-time sanitization because wp_kses_post permits the needed HTML tags and attributes, and the tooltip code later re-parses the decoded aria-label value as innerHTML.

4

What makes the payload execute despite script-element stripping?

The client-side tooltip script strips script elements but leaves event-handler attributes such as onerror intact. Those attributes can execute when the browser processes the injected HTML.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203