if you like to know about all the gory details of how we isolate apps from getting at any side channels, see this discussion which also includes a security audit by Cure53 https://delta.chat/en/2023-05-22-webxdc-security
And yes, it's maybe not perfect, but it's not just yet another web view that has arbitrary access. Also, even if an app manages to break isolation, it has no access to the social graph at all. See https://webxdc.org/docs/spec/selfAddr_and_selfName.html for what is exposed to apps from the messenger side.