n8n before versions 1.123.64, 2.29.8, and 2.30.1 contains a stored DOM cross-site scripting (XSS) vulnerability in the Resource Locator component. The vulnerability occurs because the cachedResultUrl parameter is passed to window.open() without validating the URL scheme. An attacker with workflow creation or editing privileges can embed a javascript: scheme in cachedResultUrl, causing malicious scripts to execute in the browser of a user who opens the crafted workflow.