{"data":{"id":"b2358972-05fc-4617-ba2b-af0279b73207","title":"GHSA-825q-w924-xhgx: n8n's Improper CSP Enforcement in Webhook Responses May Allow Stored XSS","summary":"A Cross-site Scripting flaw in n8n's handling of webhook responses and related HTTP endpoints means the Content Security Policy sandbox that should isolate HTML responses may not be applied correctly. An authenticated user with permission to create or modify workflows can run scripts with same-origin privileges when other users interact with the crafted workflow, potentially enabling session hijacking and account takeover.","solution":"The issue is fixed in n8n versions 1.122.5 and 1.123.2; users should upgrade to these versions or later. If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users, never execute untrusted workflows, and review workflows that receive data via webhooks, forms, or MCP servers before executing them manually. These workarounds do not fully remediate the risk and should only be short-term measures.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-825q-w924-xhgx","publishedAt":"2026-02-04T18:15:51.000Z","cveId":"CVE-2026-25051","cweIds":["CWE-79"],"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["n8n@>= 1.123.0, < 1.123.2 (fixed: 1.123.2)","n8n@< 1.122.5 (fixed: 1.122.5)"],"affectedPackageNames":["n8n"],"affectedPackageRefs":["npm:n8n"],"affectedVendors":[],"affectedVendorsRaw":["n8n"],"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.00255,"epssPercentile":0.18294,"epssCheckedAt":"2026-12-03T19:41:00.087Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/n8n-io/n8n/commit/ced34c0f93ab4c759a56065965986094d8ef7323","https://github.com/n8n-io/n8n/commit/e8cf4d6bb3af94dc296cbb67bc3dd20e9b508ac9"],"ssvcExploitation":"none","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:54:01.191Z","kevDateAdded":null,"advisoryAliases":["GHSA-825q-w924-xhgx"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-02-04T18:15:51.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-198","CAPEC-86"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.7,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["n8n@1.123.2","n8n@1.122.5"],"affectedPurls":["pkg:npm/n8n"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"published","date":"2026-02-04","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}