Wayland: Wayland’s architecture enhances security by isolating applications from each other. The compositor enforces stricter control over what an application can access, reducing the risk of unauthorized data access and improving overall system security.
I found this: https://www.linuxmo.com/wayland-vs-x11-the-battle-of-display-protocols/#penci-Security_and_Isolation