CVE-2026-77072 n8n before 1.123.69 Stored XSS via Form Completion Page

High 8.4 Published Updated

An authenticated user can inject malicious scripts into the Form node's completion page, leading to stored XSS and potential session hijacking for form visitors.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-77072?

CVE-2026-77072 is a high-severity cross-site scripting vulnerability in N8n N8n, published on 20 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

n8n before 1.123.69, 2.33.4, and 2.34.1 contains a stored cross-site scripting vulnerability in the Form node's completion page. The completion page applied its sandboxing Content-Security-Policy only when respondWith was not set to 'redirect', but responseText was always rendered as raw HTML. An authenticated member could set respondWith to 'redirect' via an expression while keeping responseText populated, causing the completion page to serve unsanitized HTML and script from the n8n origin. Any visitor who submitted the resulting public form would have that script execute same-origin with their session.

Weakness: CWE-79

Which versions are affected by CVE-2026-77072?

It affects 1 product.

Products include N8n N8n.

How do I fix CVE-2026-77072?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-77072 being exploited?

There is no known exploitation of CVE-2026-77072 in the wild and no public exploit code.

All N8n N8n vulnerabilities

Sources

Also known as GHSA-47gc-w5fv-qr5m, GHSA-rmr5-775f-jvm2, MINI-v7v4-v7pf-w4hc.

Is CVE-2026-77072 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free