The claimed advantage is not that wasm-compiled modules are more resilient to bugs or exploits, but that those exploit are easier to contain.
Nobody is surprised that an exploit in the authentication module can be used to log in as admin. It is different if an exploit in the font rendering module lets you log in as admin.
They are just two (equally important but) orthogonal facets of security
For example, a WASM based security module can just start logging-in everyone as admin, because the user metadata got corrupted.