CVE-2026-4406
Last modified
CVE-2026-4406 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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`. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4406?
How severe is CVE-2026-4406?
How do I fix CVE-2026-4406?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-44054Netatalk 2.0.0 through 4.4.2 generates AFP session tokens de…6.5
- CVE-2026-44055A logic error involving bitwise OR operations in Netatalk 3.…7.5
- CVE-2026-44056A stack-based buffer overflow in desktop.c in Netatalk 1.3 t…6.4
- CVE-2026-44057A dead bounds check in the Spotlight RPC unmarshaller in Net…3.1
- CVE-2026-44058An authentication bypass vulnerability in Netatalk 2.2.2 thr…7.2
- CVE-2026-44059A race condition in the privilege toggle mechanism in Netata…4.5
- CVE-2026-44060An integer underflow in dsi_writeinit() in Netatalk 1.5.0 th…7.5
- CVE-2026-44061Netatalk 1.5.0 through 4.4.2 uses DES-ECB for authentication…5.9
- CVE-2026-44062A missing output length bounds check in pull_charset_flags()…7.5
- CVE-2026-44063An LDAP injection vulnerability in Netatalk 2.1.0 through 4.…4.2
- CVE-2026-44064An out-of-bounds read in ASP session ID handling in Netatalk…7.1
- CVE-2026-44065An off-by-two error in lp_write() in papd in Netatalk 2.0.0 …4.2
Are you affected by CVE-2026-4406?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
