{"id":"CVE-2025-61914","aliases":["CVE-2025-61914","GHSA-58jc-rcg5-95f3"],"related":[],"kind":"vulnerability","state":"published","title":"n8n's Possible Stored XSS in \"Respond to Webhook\" Node May Execute Outside iframe Sandbox","summary":"n8n is an open source workflow automation platform. Prior to version 1.114.0, a stored Cross-Site Scripting (XSS) vulnerability may occur in n8n when using the “Respond to Webhook” node. When this node responds with HTML content containing executable scripts, the payload may execute directly in the top-level window, rather than within the expected sandbox introduced in version 1.103.0. This behavior can enable a malicious actor with workflow creation permissions to execute arbitrary JavaScript in the context of the n8n editor interface. This issue has been patched in version 1.114.0. Workarounds for this issue involve restricting workflow creation and modification privileges to trusted users only, avoiding use of untrusted HTML responses in the “Respond to Webhook” node, and using an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"n8n is an open source workflow automation platform. Prior to version 1.114.0, a stored Cross-Site Scripting (XSS) vulnerability may occur in n8n when using the “Respond to Webhook” node. When this node responds with HTML content containing executable scripts, the payload may execute directly in the top-level window, rather than within the expected sandbox introduced in version 1.103.0. This behavior can enable a malicious actor with workflow creation permissions to execute arbitrary JavaScript in the context of the n8n editor interface. This issue has been patched in version 1.114.0. Workarounds for this issue involve restricting workflow creation and modification privileges to trusted users only, avoiding use of untrusted HTML responses in the “Respond to Webhook” node, and using an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.","source":"cvelist"},{"lang":"en","text":"### Summary\nA stored Cross-Site Scripting (XSS) vulnerability may occur in n8n when using the “Respond to Webhook” node.\nWhen this node responds with HTML content containing executable scripts, the payload may execute directly in the top-level window, rather than within the expected sandbox introduced in version 1.103.0.\n\nThis behavior can enable a malicious actor with workflow creation permissions to execute arbitrary JavaScript in the context of the n8n editor interface.\n\nWhile session cookies (`n8n-auth`) are marked `HttpOnly` and cannot be directly exfiltrated, the vulnerability can facilitate Cross-Site Request Forgery (CSRF)-like actions from within the user’s authenticated session, potentially allowing:\n\n- Unauthorized reading of sensitive workflow data or execution history.\n- Unauthorized modification or deletion of workflows.\n- Insertion of malicious workflow logic or external data exfiltration steps.\n\nn8n instances that allow untrusted users to create workflows are particularly impacted.\n\n### Patches\nThe vulnerability has been patched in v.1.114.0.\n\n### Workarounds\n- Restrict workflow creation and modification privileges to trusted users only.\n- Avoid using untrusted HTML responses in the “Respond to Webhook” node.\n- Use an external reverse proxy or HTML sanitizer to filter responses that include executable scripts.","format":"markdown","source":"ghsa"},{"lang":"es","text":"n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de la versión 1.114.0, puede ocurrir una vulnerabilidad de cross-site scripting (XSS) almacenado en n8n al usar el nodo 'Respond to Webhook'. Cuando este nodo responde con contenido HTML que contiene scripts ejecutables, la carga útil puede ejecutarse directamente en la ventana de nivel superior, en lugar de dentro del sandbox esperado introducido en la versión 1.103.0. Este comportamiento puede permitir a un actor malicioso con permisos de creación de flujos de trabajo ejecutar JavaScript arbitrario en el contexto de la interfaz del editor de n8n. Este problema ha sido parcheado en la versión 1.114.0. Las soluciones alternativas para este problema implican restringir los privilegios de creación y modificación de flujos de trabajo solo a usuarios de confianza, evitar el uso de respuestas HTML no confiables en el nodo 'Respond to Webhook', y usar un proxy inverso externo o un saneador de HTML para filtrar las respuestas que incluyen scripts ejecutables.","source":"nvd"}],"published":"2025-12-26T17:30:19.000Z","modified":"2026-10-13T10:10:00.193Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.114.0","status":"affected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.114.0"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.114.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-58jc-rcg5-95f3","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61914","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-12-26T21:54:28.419Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61914","url":"https://www.cve.org/CVERecord?id=CVE-2025-61914","licence":"CVE Terms of Use","modified":"2025-12-26T21:59:25.288Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-58jc-rcg5-95f3","url":"https://github.com/advisories/GHSA-58jc-rcg5-95f3","licence":"CC-BY-4.0","modified":"2025-12-27T01:28:06.121Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61914","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61914","licence":"Public domain","modified":"2026-10-13T10:10:00.193Z"}],"updatedAt":"2026-11-25T22:59:09.953Z","epss":{"score":0.00259,"percentile":0.18783,"date":"2026-12-01T12:00:22.000Z"}}