Skip to main content

Gravity Forms EUVDEUVD-2026-26745

| CVE-2026-5113 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-02 Wordfence
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access public form with Consent field
  2. Delivery
    Submit crafted payload bypassing wp_kses() validation
  3. Exploit
    Malicious data stored in WordPress database
  4. Execution
    Administrator views Entries List
  5. Persist
    Stored XSS executes in admin session
  6. Impact
    Exfiltrate credentials or deploy backdoor

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target WordPress site to use Gravity Forms plugin version 2.10.0 or earlier with at least one public-facing form configured with a Consent field (checkbox requiring user agreement). The vulnerable code path is specifically triggered when Consent fields use hidden inputs for state validation. No authentication is required for payload injection - any internet user who can access and submit the form can inject malicious content. For payload execution, an authenticated WordPress administrator must subsequently access the Gravity Forms > Entries List page in the WordPress admin dashboard, which is routine administrative behavior for sites actively processing form submissions. Exploitation is limited to stored XSS execution context (not reflected XSS), meaning there is a time delay between injection and execution. Sites that do not use Consent fields or have disabled form submissions are not exploitable despite running vulnerable plugin versions.

Impact

Real-world risk is elevated despite the CVSS score of 7.2. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates remote unauthenticated attackers can exploit this with low complexity and no user interaction during the injection phase, though the scope change (S:C) reflects that execution occurs in admin context rather than at injection time. The lack of privilege requirements (PR:N) means any internet user can submit malicious form entries. While the confidentiality and integrity impacts are rated Low (C:L/I:L), this understates the practical risk: successful XSS in WordPress admin context enables session hijacking, privilege escalation, site defacement, and deployment of backdoors. The vulnerability requires administrators to view the Entries List page (a routine administrative action), making exploitation highly probable in active WordPress installations. Wordfence disclosure and vendor changelog reference suggest patch availability, reducing urgency for sites that update promptly. However, Gravity Forms' widespread deployment in WordPress environments (premium plugin with significant market share) creates a large attack surface. No CISA KEV listing suggests exploitation is not yet widespread, but the unauthenticated attack vector and low complexity make this an attractive target for automated scanning campaigns. SSVC framework assessment: exploitation status unclear (no POC confirmed), automatable (form submission easily scripted), technical impact significant (admin session compromise). Prioritize patching for public-facing WordPress sites with active form submissions.

Exploit ScenarioDerived

An unauthenticated attacker identifies a WordPress site running Gravity Forms with a publicly accessible form containing a Consent field. The attacker crafts a form submission with a malicious payload in the Consent field's hidden input, such as consent_label="<svg onload=alert(document.cookie)> I agree". When submitted, wp_kses() strips the <svg> tag during sanitization, creating a clean hash that passes validation, but the plugin stores both the sanitized and raw values, saving the malicious payload to the WordPress database. Days later, a site administrator logs into WordPress and navigates to the Gravity Forms Entries List page to review submissions. The stored XSS payload executes in the administrator's browser session, potentially exfiltrating session cookies, CSRF tokens, or deploying a persistent backdoor via AJAX requests to WordPress REST API endpoints.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 02, 2026

Stored Cross-Site Scripting in Gravity Forms plugin for WordPress allows unauthenticated remote attackers to inject malicious JavaScript into form entries that executes when administrators view the Entries List page. The vulnerability exploits a flawed dual-hash state validation mechanism that fails to prevent sanitized-then-restored XSS payloads in Consent field hidden inputs. Gravity Forms versions up to 2.10.0 are affected. EPSS data not available; no CISA KEV listing or public POC identified at time of analysis, but Wordfence threat intelligence disclosure indicates vendor awareness and patching activity.

RemediationAI

Upgrade Gravity Forms plugin to version 2.10.1 or later, which addresses the flawed state validation logic and implements proper output escaping for Consent field labels on the Entries List page. Access the vendor changelog at https://docs.gravityforms.com/gravityforms-change-log/ to confirm the fixed version and review release notes. If immediate patching is not feasible, implement these compensating controls: (1) Disable or remove Consent fields from public-facing forms until upgrade is completed (eliminates the vulnerable code path but breaks forms requiring consent checkboxes); (2) Restrict WordPress admin access to trusted IP addresses via .htaccess, firewall rules, or security plugins like Wordfence (reduces exposure to XSS payload execution but does not prevent payload injection and may disrupt legitimate remote admin access); (3) Implement Content Security Policy headers to restrict inline script execution (mitigates XSS impact but may interfere with legitimate WordPress admin functionality and requires careful tuning). Review existing form entries submitted prior to patching for suspicious content in Consent field labels, as malicious payloads may persist in the database post-upgrade.

Affected VersionsENISA

Gravity Forms 0 ≤2.10.0

Affected Packages

euvd gravity_forms no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gravity Forms is a premium WordPress form builder plugin (cpe:2.3:a:gravity_forms:gravity_forms). This CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability stems from a logic flaw in the plugin's state validation mechanism for Consent field hidden inputs. The validation creates two hashes: one from raw user input and one from wp_kses()-sanitized input. It only fails validation if BOTH hashes mismatch the original state value. When attackers submit payloads using HTML tags that wp_kses() strips (such as <svg>, <script>, or event handlers), the sanitized version passes hash validation while the unsanitized malicious payload is simultaneously stored in the WordPress database. On the backend Entries List page, this stored value is retrieved and rendered without proper output escaping, causing arbitrary JavaScript execution in administrator browsers. This represents a classic stored XSS attack pattern where client-side filtering creates a false sense of security while server-side output encoding is absent.

Know when Gravity Forms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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 wp_kses(), combined with insufficient output escaping. The state validation logic creates two hashes (raw input and wp_kses-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 wp_kses() (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.

Executive ViewAI

Why It Matters

Gravity Forms plugin versions up to 2.10.0 contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious code into form submissions, which executes when administrators review submitted entries. Organizations using this plugin face risk of administrator account compromise and potential lateral movement within WordPress environments, requiring immediate evaluation and mitigation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative access to Entries List page to minimal required users; (2) Implement Web Application Firewall rules to sanitize or block script tags and event handlers in form submission payloads; (3) Disable the Consent field feature in affected Gravity Forms if not operationally critical; (4) Enable and review WordPress admin audit logging to detect suspicious administrator activity; (5) Monitor Wordfence and Gravity Forms official channels daily for patch release notification.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-84434 CRITICAL POC
9.8 Sep 19

Unauthenticated arbitrary file upload in the Gravity Forms WordPress plugin through version 3.1.0.4 can lead to remote c

CVE-2017-17780 MEDIUM POC
6.1 Dec 20

The Clockwork SMS clockwork-test-message.php component has XSS via a crafted "to" parameter in a clockwork-test-message

CVE-2023-2701 MEDIUM POC
6.1 Jul 17

The Gravity Forms WordPress plugin before 2.7.5 does not escape generated URLs before outputting them in attributes, lea

CVE-2026-103039 CRITICAL
9.8 Oct 30

Unauthenticated PHP object injection in the Gravity Forms WordPress plugin, affecting every version up to and including

CVE-2023-28782 HIGH
8.3 Dec 20

Deserialization of Untrusted Data vulnerability in Rocketgenius Inc. Rated high severity (CVSS 8.3), this vulnerability

CVE-2026-19513 HIGH
8.1 Sep 01

Arbitrary file upload in Gravity Forms for WordPress (all versions ≤ 3.0.2) allows unauthenticated attackers to write PH

CVE-2026-12997 HIGH
7.5 Jul 15

Arbitrary file disclosure in the Gravity Forms WordPress plugin (all versions through 2.10.4) lets unauthenticated attac

CVE-2026-97645 HIGH
7.2 Oct 30

Stored cross-site scripting in the Gravity Forms WordPress plugin through 3.1.2 allows unauthenticated form submitters t

CVE-2026-90437 HIGH
7.2 Oct 30

Stored cross-site scripting in the Gravity Forms plugin for WordPress, affecting all versions up to and including 3.1.1,

CVE-2026-16649 HIGH
7.2 Sep 05

Stored Cross-Site Scripting in the Gravity Forms WordPress plugin (all versions ≤2.10.5) permits unauthenticated attacke

CVE-2026-5110 HIGH
7.2 May 02

Stored cross-site scripting (XSS) in Gravity Forms WordPress plugin versions ≤2.10.0 allows remote unauthenticated attac

CVE-2026-5111 HIGH
7.2 May 02

Stored Cross-Site Scripting in Gravity Forms plugin for WordPress through version 2.10.0 allows unauthenticated remote a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy