XSS in N8n

CVE-2026-25051

n8n is an open source workflow automation platform. Prior to version 1.123.2, a Cross-Site Scripting (XSS) vulnerability has been identified in the handling of webhook responses and related HTTP endpoints. Under certain conditions, the Content Security Policy (CSP) sandbox protection intended to isolate HTML responses may not be applied correctly. An authenticated user with permission to create or modify workflows could abuse this to execute malicious scripts with same-origin privileges when other users interact with the crafted workflow. This could lead to session hijacking and account takeover. This issue has been patched in version 1.123.2.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (13.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-25051?
CVE-2026-25051 is a medium-severity vulnerability in N8n, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-02-04.
How severe is CVE-2026-25051?
Medium severity. CVSS v3 base score is 5.4 out of 10.