{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-4406 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-4406 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-4406 is a medium-severity cross-site scripting vulnerability in Gravity Forms, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-4406 and fix it if it is affected.\n\nWhat it is: CVE-2026-4406 is a medium-severity cross-site scripting vulnerability in Gravity Forms, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-4406 in the wild and no public exploit code.\n\nAffected product: Gravity Forms. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4406/ (Markdown: https://insights.sbomify.com/CVE-2026-4406/index.md)","id":"CVE-2026-4406","markdown":"https://insights.sbomify.com/CVE-2026-4406/index.md","name":"CVE-2026-4406","record":{"aliases":["GHSA-m698-rpjv-64j7"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary scripts in victim browsers via a crafted link due to improper output encoding in the Gravity Forms plugin.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-07","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-07T16:22:20Z","kind":"github_poc","ref":"https://github.com/Hann1bl3L3ct3r/CVE-2026-4406","stars":0,"title":"The Gravity Forms plugin for WordPress (tested through version 2.9.28) is vulnerable to unauthenticated reflected cross-site scripting (XSS) via the `form_ids` parameter in the `gform_get_config` AJAX action."}],"tier":"poc_unverified"},"has_fix":null,"headline":"Gravity Forms \u003c= 2.9.30 - Reflected Cross-Site Scripting via 'form_ids' Parameter","id":"CVE-2026-4406","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Out-of-bounds array write in Xpdf 4.06 due to missing validation","id":"CVE-2026-4407"},"packages":[],"prev":{"headline":"IBM Concert Software Use of Web Browser Cache Containing Sensitive Information","id":"CVE-2026-4405"},"products":["Gravity Forms"],"published":"2026-04-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["Gravity Forms"]},"summary":"Unauthenticated attackers can execute arbitrary scripts in victim browsers via a crafted link due to improper output encoding in the Gravity Forms plugin.","url":"https://insights.sbomify.com/CVE-2026-4406/"}