### Website or app

https://github.com/facebook/react/blob/main/packages/react-devtools/package.json

### Repro steps

### Issue
electron package versions <18.3.7 suffer from a security vulnerability: "Exfiltration of hashed SMB credentials on Windows via file:// redirect".
See https://github.com/advisories/GHSA-p2jh-44qj-pf2v

### Solution
Upgrade electron dependency in react-devtools to >18.3.7

### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

_No response_

### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
webPreferences: {
      nodeIntegration: true,
      nodeIntegrationInWorker: true,
    },
  });
  
  if (os.platform() === 'darwin') {
    app.dock.setIcon(join(__dirname, 'icons/icon128.png'));
  }
  
  mainWindow.webContents.on('new-window', function (event, url) {
    event.preventDefault();
    require('electron').shell.openExternal(url);
  });
  
  mainWindow.loadURL('file://' + __dirname + '/app.html'); 
  
  mainWindow.webContents.executeJavaScript(
    
    
    
    'window.devtools.setProjectRoots(' + JSON.stringify(projectRoots) + ')',
  );
  
  mainWindow.on('closed', function () {
    mainWindow = null;
  });
});