You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Importing a Comment node named __proto__ breaks the editor #5979
Importing a Comment node whose name is __proto__ leaves the Import nodes dialog open even though the node appears on the canvas.
The browser console reports RangeError: Maximum call stack size exceeded, and subsequent editor interactions can produce additional JavaScript errors.
The editor search index stores the node on Object.prototype instead of an ordinary index entry.
Searching the index for __proto__ does not return the node.
Expected Behavior
The import should complete and close the dialog.
The editor should remain usable, and searching for __proto__ should return the Comment node.
The Comment node name is a plain text field with no restriction on this value.
Steps To Reproduce
Open a fresh Node-RED editor with an empty flow.
Open Menu → Import → Clipboard.
Paste the example flow below.
Click Import.
Observe that the import dialog remains open and the browser console reports stack-overflow errors.
Activity
colinl commentedon Oct 5, 2026
Also creating a comment node with that name locks up the editor.