{"data":{"id":"08161e0d-2593-4d41-ba46-6f50217454ae","title":"GHSA-42h7-m79w-wvg5: n8n: Stored XSS in Chat Trigger Node","summary":"An authenticated user with workflow edit access could inject arbitrary JavaScript into the Chat Trigger's generated page by setting a malicious `webhookId`. When a logged-in user visited the chat URL, the injected code ran in the n8n origin with that user's session privileges.","solution":"The issue is fixed in n8n versions 1.123.55, 2.25.7, and 2.26.2; users should upgrade to one of these or later. If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users only, or disable the Chat Trigger node by adding `@n8n/n8n-nodes-langchain.chatTrigger` to the `NODES_EXCLUDE` environment variable. These workarounds do not fully remediate the risk and should only be short-term measures.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-42h7-m79w-wvg5","publishedAt":"2026-06-16T22:39:32.000Z","cveId":"CVE-2026-54302","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["n8n@>= 2.0.0-rc.0, < 2.25.7 (fixed: 2.25.7)","n8n@>= 2.26.0, < 2.26.2 (fixed: 2.26.2)","n8n@< 1.123.55 (fixed: 1.123.55)"],"affectedPackageNames":["n8n"],"affectedPackageRefs":["npm:n8n"],"affectedVendors":[],"affectedVendorsRaw":["n8n","n8n Chat Trigger node","LangChain"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00231,"epssCheckedAt":"2026-11-04T18:09:13.386Z","kevDateAdded":null,"advisoryAliases":["GHSA-42h7-m79w-wvg5"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-06-16T22:39:32.000Z","fixReleasedAt":"2026-06-10T08:37:01.502Z","daysToFix":-6,"fixCheckedAt":"2026-10-29T21:34:28.640Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"n8n","fixedVersion":"2.26.2","matchedVersion":"2.26.2","fixReleasedAt":"2026-06-10T08:43:36.967Z","daysToFix":-6,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:34:28.493Z"},{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.55","matchedVersion":"1.123.55","fixReleasedAt":"2026-06-10T08:37:01.502Z","daysToFix":-6,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:34:28.493Z"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.25.7","matchedVersion":"2.25.7","fixReleasedAt":"2026-06-10T08:45:26.303Z","daysToFix":-6,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:34:28.493Z"}]}}