{"id":"CVE-2026-4406","published":"2026-04-07T23:25:27Z","modified":"2026-04-08T16:48:35Z","title":"Gravity Forms <= 2.9.30 - Reflected Cross-Site Scripting via 'form_ids' Parameter","vendor":"Gravity Forms","product":"Gravity Forms","tier":"core","eol":null,"affectedVersions":[{"vendor":"Gravity Forms","product":"Gravity Forms","versions":["<= 2.9.30"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-08T15:15:11.294642Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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 brackets within JSON string values, allowing injected HTML/script tags in `form_ids` array values to be parsed and executed by the browser. The required `config_nonce` is generated with `wp_create_nonce('gform_config_ajax')` and is publicly embedded on every page that renders a Gravity Forms form, making it identical for all unauthenticated visitors within the same 12-hour nonce tick. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. This vulnerability cannot be exploited against users who are authenticated on the target system, but could be used to alter the target page.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00411,"percentile":0.26959,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-04-08","exploitedFirstSeen":"2026-04-08","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/wordpress/plugin/gravityforms/vulnerability/wordpress-gravity-forms-plugin-2-9-30-reflected-cross-site-scripting-via-form-ids-parameter-vulnerability","date":"2026-04-08"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":16,"pulses":[{"name":"Known_Cve | Apr 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69ea3f5ba5d3a028c6ef7ecf","created":"2026-04-23"},{"name":"Known_Cve | Apr 23, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e8ec53d8e9285aa573199c","created":"2026-04-22"},{"name":"Known_Cve | Apr 22, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e79c01c3d8244296d32902","created":"2026-04-21"},{"name":"Known_Cve | Apr 21, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e64ae4502f00a0cc9986e5","created":"2026-04-20"},{"name":"Known_Cve | Apr 20, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e4f971582b6761602eb4a2","created":"2026-04-19"},{"name":"Known_Cve | Apr 19, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e3a7638300f0eb1346a035","created":"2026-04-18"},{"name":"Known_Cve | Apr 18, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e25442402a04b23b8aa1a2","created":"2026-04-17"},{"name":"Known_Cve | Apr 17, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69e103976603776b725a4a5a","created":"2026-04-16"},{"name":"Known_Cve | Apr 15, 2026","url":"https://otx.alienvault.com/pulse/69de5f919b88b9566b77d9fa","created":"2026-04-14"},{"name":"Known_Cve | Apr 14, 2026","url":"https://otx.alienvault.com/pulse/69dd7235cc14d6e4d874a258","created":"2026-04-13"}],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/4126d452-65a9-48f5-a3f5-5be1b8fff80c?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/common.php#L8267","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/config/class-gf-config-collection.php#L56","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/config/class-gf-config-service-provider.php#L144","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/gravityforms/trunk/includes/config/items/class-gf-config-global.php#L22","tags":[]},{"url":"https://docs.gravityforms.com/gravityforms-change-log/","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-19994","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-19994","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-04-07","earliestUrl":"https://github.com/Hann1bl3L3ct3r/CVE-2026-4406","repos":[{"name":"Hann1bl3L3ct3r/CVE-2026-4406","url":"https://github.com/Hann1bl3L3ct3r/CVE-2026-4406","stars":0,"created":"2026-04-07"}]},"first":{"date":"2026-04-07","source":"PoC-in-GitHub","url":"https://github.com/Hann1bl3L3ct3r/CVE-2026-4406"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-04-07","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-4406","provenance":"source"},{"date":"2026-04-07","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/Hann1bl3L3ct3r/CVE-2026-4406","provenance":"source"},{"date":"2026-04-08","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/wordpress/plugin/gravityforms/vulnerability/wordpress-gravity-forms-plugin-2-9-30-reflected-cross-site-scripting-via-form-ids-parameter-vulnerability","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":56.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 231 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":5.39,"detail":"percentile 0.2696"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":2.79,"detail":"16 pulses"},{"name":"CVSS severity","points":3.29,"detail":"base score 4.7"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}