CVE-2026-5112: Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Calculation Product Field in Repeater

Published May 2, 2026
·
Updated

The Gravity Forms plugin for WordPress is vulnerable to Unauthenticated Stored Cross-Site Scripting in versions up to and including 2.10.0. This is due to insufficient input validation and output escaping of Calculation Product field product names when rendered inside Repeater fields. The validate() method in the GFFieldCalculation class only validates the quantity field (.3) and completely ignores the product name field (.1), allowing malicious HTML to pass through validation. When the value is saved, the sanitizeentryvalue() method returns the raw value without sanitization for fields where HTML is not expected. Subsequently, when an entry is viewed in wp-admin, the getvalueentrydetail() method concatenates the unescaped product name directly into the output string, which is then rendered by the repeater's getvalueentrydetail() method without further escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts via form submissions that will execute whenever an authenticated administrator with the gravityformsviewentries capability accesses the entry detail page.

Affected Software

1 affected component
Gravity Forms Gravity Forms<=2.10.0

Event History

May 2, 2026
CVE Published
via MITRE·05:29 AM
Data Sourced
via MITRE·05:29 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5112?

CVE-2026-5112 is rated as a high-severity vulnerability due to its potential for unauthenticated stored cross-site scripting.

2

How do I fix CVE-2026-5112?

To fix CVE-2026-5112, update the Gravity Forms plugin to version 2.10.1 or later.

3

What impact does CVE-2026-5112 have on Gravity Forms?

CVE-2026-5112 allows attackers to execute arbitrary JavaScript in the context of a user's session through vulnerable calculation product fields.

4

Is the Gravity Forms plugin affected by CVE-2026-5112?

Yes, Gravity Forms versions up to and including 2.10.0 are affected by CVE-2026-5112.

5

Can CVE-2026-5112 be exploited by unauthenticated users?

Yes, CVE-2026-5112 can be exploited by unauthenticated users due to inadequate input validation.

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