The Tauri IPC is usually strictly isolated from external websites but the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect[^open-redirect].
This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands.
This issue has been patched in the latest release and was backported to all previous 1.x
releases.
Prevent arbitrary input in redirect features. Only allow trusted websites access to the IPC.
The feature to enable this behavior in a more constrained way was introduced in the 1.3
release and documentation around this can be found in the documentation.
{ "nvd_published_at": "2023-05-09T14:15:13Z", "cwe_ids": [ "CWE-601" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-05-03T21:57:22Z" }