CVE-2026-56356: n8n - Stored Cross-Site Scripting in Chat Trigger Node Custom CSS Field

Published Jun 30, 2026
·
Updated

n8n contains a stored cross-site scripting vulnerability in the Chat Trigger node's Custom CSS field due to a misconfiguration of the sanitize-html library. Affected releases are those before 1.123.27, the 2.0.0 through 2.13.2 line, and 2.14.0 (fixed in 1.123.27, 2.13.3, and 2.14.1). An authenticated user with permission to create or modify workflows can inject JavaScript that bypasses sanitization, resulting in stored XSS against any user who visits the public chat page.

Affected Software

4 affected components
n8n<1.123.27, >=2.0.0<=2.13.2, =2.14.0
n8n N8n Node.js<1.123.27
n8n N8n Node.js>=2.0.0<2.13.3
n8n N8n Node.js=2.14.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.123.27
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.13.3
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.14.1
  4. Compensating control

    If you use the n8n Chat Trigger node, restrict authenticated users’ permissions so only trusted users can create or modify workflows (since the vulnerability requires permission to create/modify workflows to inject JavaScript into the Chat Trigger node Custom CSS field).

Event History

Jun 30, 2026
CVE Published
via MITRE·10:08 PM
Data Sourced
via MITRE·10:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56356?

CVE-2026-56356 has a medium severity rating of 5.1.

2

How do I fix CVE-2026-56356?

To fix CVE-2026-56356, update to n8n version 1.123.27, 2.13.3, or 2.14.1.

3

What type of vulnerability is identified in CVE-2026-56356?

CVE-2026-56356 is a stored cross-site scripting (XSS) vulnerability.

4

Which n8n versions are affected by CVE-2026-56356?

n8n versions before 1.123.27, 2.0.0 through 2.13.2, and 2.14.0 are affected by CVE-2026-56356.

5

What causes the vulnerability in CVE-2026-56356?

The vulnerability in CVE-2026-56356 is caused by a misconfiguration of the sanitize-html library in the Chat Trigger node's Custom CSS field.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203