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
Anthony Trummer edited this page Jan 6, 2022
·
3 revisions
LIMIT_NAVIGATION_JS_CHECK - Detects if on() for 'will-navigate' and 'new-window' events is used
Creation of a new window or the navigation to a specific origin can be inspected and validated using callbacks for the new-window and will-navigate events.
Electron applications can limit the navigation flows by implementing a similar code snippet:
This setting can be used to limit the exploitability of certain issues. Not enforcing navigation limits can result in the Electron application being under the full control of remote origins in case of accidental navigation.
Auditing
Check every callback of the will-navigate and the new-windows events. These callbacks should be reviewed thoroughly to exclude potential flaws in the origin's validation mechanism.