{"id":"CVE-2024-35222","state":"PUBLISHED","title":"iFrames Bypass Origin Checks for Tauri API Access Control","description":"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.","publishedAt":"2024-05-23T13:20:26.220Z","updatedAt":"2024-08-02T03:07:46.872Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["tauri-apps tauri"],"affected":[{"vendor":"tauri-apps","product":"tauri","versions":[{"version":"<= 1.6.6","status":"affected"},{"version":">= 2.0.0-beta.0, <= 2.0.0-beta.19","status":"affected"}]}],"references":["https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7","https://github.com/tauri-apps/tauri/issues/8316"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35222.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-35222","state":"PUBLISHED","datePublished":"2024-05-23T13:20:26.220Z","dateUpdated":"2024-08-02T03:07:46.872Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-05-14T15:39:41.784Z"},"containers":{"cna":{"title":"iFrames Bypass Origin Checks for Tauri API Access Control","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tauri-apps","product":"tauri","versions":[{"version":"<= 1.6.6","status":"affected"},{"version":">= 2.0.0-beta.0, <= 2.0.0-beta.19","status":"affected"}]}],"references":[{"url":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7","name":"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","name":"https://github.com/tauri-apps/tauri/issues/8316","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-23T13:20:26.220Z"},"source":{"advisory":"GHSA-57fm-592m-34r7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"tauri","product":"tauri","defaultStatus":"affected","versions":[{"version":"1.6.6","status":"affected"},{"version":"2.0.0-beta.0","status":"affected","lessThanOrEqual":"2.0.0-beta.19","versionType":"custom"}],"cpes":["cpe:2.3:a:tauri:tauri:1.6.6:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-35222","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-23T16:19:02.005386Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:34:02.079Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7","name":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/tauri-apps/tauri/issues/8316","name":"https://github.com/tauri-apps/tauri/issues/8316","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:07:46.872Z"}}]}}}