Webp has had major vulnerabilities.
https://blog.cloudflare.com/uncovering-the-hidden-webp-vulne...
https://blog.cloudflare.com/uncovering-the-hidden-webp-vulne...
FWIW webp came from the same "research group in google switzerland" that later developed jpegxl.