CVE Explorer
CVE-2026-4406
The Gravity Forms plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `form_ids` parameter in the `gform_get_config` AJAX action in all versions up to, and including, 2.9.30. This is due to the `GFCommon::send_json()` method outputting JSON-encoded data wrapped in HTML comment delimiters using `echo` and `wp_die()`, which serves the response with a `Content-Type: text/html` header instead of `application/json`. The `wp_json_encode()` function does not HTML-encode angle b
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Gravity Forms","vendor":"Gravity Forms","versions":[{"lessThanOrEqual":"2.9.30","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":4.7,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/problemTypes/0/descriptions/0
Source references
6 source assertions{"url":"https://docs.gravityforms.com/gravityforms-change-log/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/common.php#L8267"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/config/class-gf-config-collection.php#L56"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/config/class-gf-config-service-provider.php#L144"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/config/items/class-gf-config-global.php#L22"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/4126d452-65a9-48f5-a3f5-5be1b8fff80c?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4009ca8d0004d250e1e57b6359453e6cebb34c02e823be9531ae4a5c5efde7ac · sha256:1ccb1b0cd727df15… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.