Path traversal exists in theme IPC handlers, allowing scripts running in the Discord origin, such as through Cross-Site Scripting (XSS), to escape the themes directory. This occurs due to unvalidated theme IDs. Attackers can abuse the `themes.folder`, `themes.uninstall`, and `themes.install` handlers to launch local executables, recursively delete directories, and write files outside the intended themes directory.