CVE-2026-5113: Gravity Forms <= 2.10.0 - Unauthenticated Stored Cross-Site Scripting via Consent Field Hidden Input

Published May 2, 2026
·
Updated

The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Consent field hidden inputs in versions up to and including 2.10.0. This is due to a flawed state validation mechanism that fails open when input is sanitized by wpkses(), combined with insufficient output escaping. The state validation logic creates two hashes (raw input and wpkses-sanitized input) and only fails validation if BOTH hashes don't match the original state. When an attacker injects XSS payloads using tags stripped by wpkses() (like <svg>), the sanitized hash matches while the malicious raw value is preserved and saved to the database. When administrators view the Entries List page, the stored malicious consent label is retrieved and output without escaping, causing the XSS payload to execute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in entries that will execute whenever an authenticated administrator accesses the entries list 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-5113?

CVE-2026-5113 has a medium severity rating due to its potential for resulting in stored Cross-Site Scripting attacks.

2

How do I fix CVE-2026-5113?

To fix CVE-2026-5113, update the Gravity Forms plugin to version 2.10.1 or later where the vulnerability has been addressed.

3

Who is affected by CVE-2026-5113?

CVE-2026-5113 affects users of Gravity Forms versions up to and including 2.10.0.

4

What type of vulnerability is CVE-2026-5113?

CVE-2026-5113 is categorized as an Unauthenticated Stored Cross-Site Scripting vulnerability.

5

Can CVE-2026-5113 be exploited without authentication?

Yes, CVE-2026-5113 can be exploited without authentication, making it more dangerous for users.

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