Reflected Cross-Site Scripting Vulnerability in Gravity Forms Plugin for WordPress

4.7MEDIUM

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2026-4406
Vendor
CVE Published:
7 April 2026

Timeline

Exploit known 1 day after it was published

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

How risky is it?

  • Partly: Works over the network, but a user must act
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Gravity Forms. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed Gravity Forms systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Check today"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is medium (4.7).

What is CVE-2026-4406?

The Gravity Forms plugin for WordPress has a vulnerability that allows reflected cross-site scripting through the form_ids parameter in the gform_get_config AJAX action. This issue affects all versions up to and including 2.9.30. It stems from the GFCommon::send_json() method outputting JSON data wrapped in HTML comment delimiters, using echo and wp_die(). Consequently, it serves responses with a Content-Type: text/html header instead of application/json. The output of the wp_json_encode() function fails to HTML-encode angle brackets within JSON string values, permitting the injection of HTML or script tags in the form_ids parameter. This flaw poses risks particularly when unauthenticated attackers trick users into interacting with malicious links, making it possible to execute scripts on affected pages.

Affected Version(s)

Gravity Forms 0 <= 2.9.30

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate Member๐Ÿ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration Aide๐Ÿ‘พ9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate โ€“ WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Credit

Anthony Cihan
.