Is it unsafe to use webp or avif images?

the frgin **** say he won’t enable the support for webp or avif because people can hide virus and blablabla
i think he is being completely paranoid
and he can’t tell me how webp or avif is unsafe