# CVE-2026-25051: n8n Improper CSP Enforcement in Webhook Responses May Allow Stored XSS

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-02-04T16:46:53.285Z
- Modified: 2026-06-17T10:24:02.760Z
- Also known as: GHSA-825q-w924-xhgx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.123.2
- n8n (npm): from 1.123.0 before 1.123.2; before 1.122.5
- n8n n8n: before 1.123.2

## Every score

- GitHub_M: CVSS:4.0 8.5 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-825q-w924-xhgx> (patch, vendor-advisory, web)
- <https://github.com/n8n-io/n8n/commit/ced34c0f93ab4c759a56065965986094d8ef7323> (patch, web)
- <https://github.com/n8n-io/n8n/commit/e8cf4d6bb3af94dc296cbb67bc3dd20e9b508ac9> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25051> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-25051](https://www.cve.org/CVERecord?id=CVE-2026-25051), CVE Terms of Use, modified 2026-02-05
- GitHub Advisory Database: [GHSA-825q-w924-xhgx](https://github.com/advisories/GHSA-825q-w924-xhgx), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2026-25051](https://nvd.nist.gov/vuln/detail/CVE-2026-25051), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25051 · Whole record: https://cve.day/CVE-2026-25051.json · Rebuilt by cve.day 2026-11-25T22:59:13.486Z
