CVE-2026-16649 Gravity Forms <= 2.10.5 - Unauthenticated Stored Cross-Site Scripting via Post Body Field Value
Unauthenticated attackers can inject arbitrary scripts via Post Body fields, leading to code execution when users view affected pages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-16649?
CVE-2026-16649 is a high-severity cross-site scripting vulnerability in Gravity Forms, published on 5 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-16649?
How do I fix CVE-2026-16649?
No fix has been published for CVE-2026-16649 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-16649 being exploited?
There is no known exploitation of CVE-2026-16649 in the wild and no public exploit code.
Sources
Also known as GHSA-34rx-8vxh-qm4m.