{"id":"CVE-2024-35222","published":"2024-05-23T13:20:26Z","modified":"2024-08-02T03:07:46Z","title":"iFrames Bypass Origin Checks for Tauri API Access Control","vendor":"tauri-apps","product":"tauri","tier":"tail","description":{"text":"Tauri is a framework for building binaries for all major desktop platforms. Remote origin iFrames in Tauri applications can access the Tauri IPC endpoints without being explicitly allowed in the `dangerousRemoteDomainIpcAccess` in v1 and in the `capabilities` in v2. Valid commands with potentially unwanted consequences (\"delete project\", \"transfer credits\", etc.) could be invoked by an attacker that controls the content of an iframe running inside a Tauri app. This vulnerability has been patched in versions 1.6.7 and 2.0.0-beta.19.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00349,"percentile":0.29332,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tauri-apps/tauri/issues/8316","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.87},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"tauri-apps","affectedVersions":[{"vendor":"tauri-apps","product":"tauri","versions":["<= 1.6.6",">= 2.0.0-beta.0, <= 2.0.0-beta.19"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-23T16:19:02.005386Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tauri","vulnerableRanges":["<1.6.7",">=2.0.0-beta.0, <2.0.0-beta.20"],"patched":["1.6.7","2.0.0-beta.20"],"from":["GHSA-57fm-592m-34r7"],"provenance":"source"}],"summary":{"text":"The Tauri framework for building cross-platform desktop applications has an access control flaw in which remote-origin iFrames can reach Tauri's IPC endpoints without being explicitly allowed, bypassing the origin restrictions set by dangerousRemoteDomainIpcAccess in v1 and capabilities in v2. An attacker who controls the content of an iFrame running inside a Tauri app could invoke valid commands with potentially unwanted consequences, which requires an attacker-controlled iFrame to be loaded in the application and user interaction to trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:41Z"},"euvd":{"id":"EUVD-2024-1434","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tauri-apps-tauri-cve-2022-46171","parents":[{"from":"CVE-2023-31134","to":"CVE-2024-35222","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/tauri/src/app.rs","core/tauri/src/manager.rs","core/tauri/src/window.rs"],"commits":["https://github.com/tauri-apps/tauri/commit/9c0593c33af52cd9e00ec784d15f63efebdf039c","https://github.com/tauri-apps/tauri/commit/d950ac1239817d17324c035e5c4769ee71fc197d","https://github.com/tauri-apps/tauri/commit/f6d81dfe0871e0ccd012e5190d41e3767e733608"],"basis":"shared function","functions":["InnerWindowManager"]}]}],"packageHistory":[{"cve":"CVE-2023-31134","published":"2023-05-09","fixed":"1.2.5","kev":false},{"cve":"CVE-2023-34460","published":"2023-06-23","fixed":"1.4.1","kev":false,"link":{"from":"CVE-2023-34460","to":"CVE-2024-35222","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:tauri","fromFixed":"1.4.1","toFixed":"1.6.7","daysApart":335}]}},{"cve":"CVE-2022-46171","published":"2022-12-23","fixed":"2.0.0-alpha.2","kev":false},{"cve":"CVE-2024-35222","published":"2024-05-23","fixed":"2.0.0-beta.20","kev":false},{"cve":"CVE-2026-42184","published":"2026-05-27","fixed":"2.11.1","kev":false}],"package":"crates.io:tauri"}}