What’s Vulnerable › Vulnerabilities
CVE-2026-5109: Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Product Option
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-02 · updated 2026-06-17
- Weakness: CWE-79
Description
The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 2.10.0. This is due to insufficient validation and output escaping of Product Option field values. The vulnerability exists because the state validation function accepts submitted values where the wp_kses()-sanitized version matches a legitimate option value, but then stores the raw unsanitized value in the database. When administrators view entry details via the Order Summary section, the option_label is output directly without escaping (view-order-summary.php line 32), executing the injected JavaScript. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in entry data that will execute whenever an administrator accesses the entry details page.
Affected products
- Gravity Forms: through 2.10.0
References
- https://docs.gravityforms.com/gravityforms-change-log/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/651fa700-2462-4c9c-bd13-85f3a53a64df?source=cve
Get alerted when CVE-2026-5109 or the next vulnerability affects your stack