Medium severity5.4GHSA Advisory· Published Jun 23, 2026· Updated Jun 26, 2026
CVE-2026-54302
CVE-2026-54302
Description
n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, 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 executed in the n8n origin with that user's session privileges. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | < 1.123.55 | 1.123.55 |
n8nnpm | >= 2.26.0, < 2.26.2 | 2.26.2 |
n8nnpm | >= 2.0.0-rc.0, < 2.25.7 | 2.25.7 |
Affected products
1Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-42h7-m79w-wvg5ghsaADVISORY
- github.com/n8n-io/n8n/security/advisories/GHSA-42h7-m79w-wvg5nvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-54302ghsaADVISORY
News mentions
1- n8n: 16 CVEs Disclosed in Single Batch — Credential Leaks, Prototype Pollution, and Sandbox EscapeVypr Intelligence · Jun 16, 2026