CVE-2026-118648

n8n before 1.123.85, 2.43.5, and 2.44.1 Stored XSS via Webhook Responses Missing Sandbox Policy

Published Oct 28, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
Description
n8n before 1.123.85, 2.x before 2.43.5, and 2.44.x before 2.44.1 contains a stored cross-site scripting vulnerability because some webhook response paths, such as error responses and responses without headers, omit the sandbox Content-Security-Policy. Authenticated members who can create and activate workflows can serve HTML that runs on the n8n origin, letting scripts act with the session of users who open the webhook URL.

Analysis

AI-generated

Technical impact

n8n before versions 1.123.85, 2.x before 2.43.5, and 2.44.x before 2.44.1 suffers a stored cross‑site scripting flaw because certain webhook response paths omit the sandbox Content‑Security‑Policy header. An authenticated user who can create and activate workflows can embed malicious HTML or scripts in a webhook response. When a user opens that webhook URL, the injected code runs under the victim’s n8n session, allowing an attacker to read cookies, steal credentials or perform actions on behalf of the user within the same origin.

Affected Systems

The affected product is n8n by n8n‑io. Vulnerable releases include all n8n versions before 1.123.85, all 2.x releases prior to 2.43.5, and all 2.44.x releases prior to 2.44.1.

Risk and Exploitability

The vulnerability is rated CVSS 8.4, indicating high severity, and it is not listed in the CISA KEV catalog. Exploitation requires the attacker to be an authenticated member with workflow creation rights, after which they can embed attacker‑controlled content into a webhook response. Any user who later accesses that webhook URL will have the malicious scripts executed in their browser with the user’s n8n session, creating a high risk of credential theft or session hijacking. Because the flaw relies on missing sandbox policy, there is no immediate remote code execution, but the impact on confidentiality and integrity is significant for all users of the affected installations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest n8n release (≥ 1.123.85, ≥ 2.43.5, or ≥ 2.44.1) to eliminate the missing sandbox policy in webhook responses.
  • If an upgrade is not immediately possible, limit who can create and activate workflows by tightening workflow‑creation permissions and disable public exposure of webhook URLs.
  • As a temporary workaround, configure the web server or reverse proxy to add a strict Content‑Security‑Policy header containing a sandbox directive to all webhook responses.

Generated by OpenCVE AI on October 28, 2026 at 20:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description n8n before 1.123.85, 2.x before 2.43.5, and 2.44.x before 2.44.1 contains a stored cross-site scripting vulnerability because some webhook response paths, such as error responses and responses without headers, omit the sandbox Content-Security-Policy. Authenticated members who can create and activate workflows can serve HTML that runs on the n8n origin, letting scripts act with the session of users who open the webhook URL.
Title n8n before 1.123.85, 2.43.5, and 2.44.1 Stored XSS via Webhook Responses Missing Sandbox Policy
First Time appeared N8n
N8n n8n
Weaknesses CWE-79
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 1:19 PM
Reserved
Oct 28, 2026, 5:24 PM
Status
Deferred
Published
Oct 28, 2026, 7:17 PM
Modified
Nov 3, 2026, 2:17 PM