Skip to main content

Gravity Forms EUVDEUVD-2026-26741

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

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
Analysis Generated
May 02, 2026 - 06:31 vuln.today
EUVD ID Assigned
May 02, 2026 - 06:00 euvd
EUVD-2026-26741
Analysis Generated
May 02, 2026 - 06:00 vuln.today
CVE Published
May 02, 2026 - 05:29 nvd
HIGH 7.2

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 validation and output escaping of Product Option field values. The vulnerability exists because the state validation function accepts submitted values where the wp_kses()-sanitized version matches a legitimate option value, but then stores the raw unsanitized value in the database. When administrators view entry details via the Order Summary section, the option_label is output directly without escaping (view-order-summary.php line 32), executing the injected JavaScript. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in entry data that will execute whenever an administrator accesses the entry details page.

AnalysisAI

Stored XSS in Gravity Forms for WordPress ≤2.10.0 allows unauthenticated remote attackers to inject malicious JavaScript through Product Option field values that execute when administrators view entry details. The flaw exploits a sanitization bypass: the plugin's state validation accepts values matching wp_kses()-cleaned legitimate options but stores the raw unsanitized input, which is then rendered without escaping in the Order Summary view (view-order-summary.php:32). EPSS data not available; no public exploit identified at time of analysis. Vendor patch status requires verification via changelog.

Technical ContextAI

This vulnerability affects the Gravity Forms WordPress plugin (cpe:2.3:a:gravity_forms:gravity_forms), a form builder commonly used for e-commerce with Product Option fields. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation). The attack exploits a logic flaw in the state validation function: it validates submitted Product Option values by comparing them against legitimate options after applying wp_kses() sanitization (WordPress's HTML/script filtering function), but if the sanitized version matches a valid option, the raw unsanitized payload is stored in the database. When administrators access entry details, the option_label value is output directly in view-order-summary.php line 32 without contextual output escaping, allowing the stored JavaScript to execute in the admin's browser. This represents a sanitization-validation mismatch vulnerability where input validation and output encoding are decoupled.

RemediationAI

Upgrade Gravity Forms to the latest version as specified in the official changelog at https://docs.gravityforms.com/gravityforms-change-log/-released patched version not independently confirmed from provided data; administrators must cross-reference CVE-2026-5109 with changelog entries post-2.10.0. Until patching, implement compensating controls: disable Product Option fields on public-facing forms (eliminates attack vector but breaks e-commerce functionality), restrict form submissions to authenticated users only via Gravity Forms settings (reduces attack surface but impacts public forms), implement Web Application Firewall rules to block HTML/JavaScript in Product Option field submissions (may cause false positives with legitimate special characters), and enable Content Security Policy headers to restrict inline script execution (reduces XSS impact but requires compatibility testing). Review existing form entries for suspicious option_label values containing HTML tags or JavaScript before viewing in admin panel. Note that disabling Product Options fundamentally changes form functionality and is only viable for non-commerce forms.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

EUVD-2026-26741 vulnerability details – vuln.today

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