A stored cross-site scripting issue exists in the `confirmDialog()` function. This occurs because unescaped package names and notebook names are interpolated directly into innerHTML assignments. An attacker can submit malicious bazaar packages containing HTML or script payloads in the name field, which then execute in the browser of a user when they uninstall packages or unlock encrypted notebooks.