CVE-2026-5109 PUBLISHED

Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Product Option

Assigner: Wordfence
Reserved: 29.03.2026 Published: 02.05.2026 Updated: 02.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS Score: 7.2

Product Status

Vendor Gravity Forms
Product Gravity Forms
Versions Default: unaffected
  • affected from 0 to 2.10.0 (incl.)

Credits

  • tadokun finder

References

Problem Types

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