WebP is one of the most recently added image formats, and it had zero day exploits as recently as 6 months ago.
That not a measure of security.
How many malware exists for MacOS compared to Windows. Does that mean MacOS is safer?
You could easily argue the other way around that WebP and say has more undiscovered exploits.
The current debate is about JPEG XL vs AVIF. Advantages of old image formats are not relevant here.
There will always be some new format with some advantage or another, but safely parsing complex user generated content just isn't trivial, so every one of these is both a cost benefit analysis on its own merits but also a chance to reflect on historical implementations, vulnerabilities, and lessons learned.
The image formats past WebP offer very minor improvements but have big potentials for new zero-days. I don't think it's wrong to play it safe and/or just don't implement them.
Hopefully it isn't singled out, and any prospective support for a new image format gets the same scrutiny.
The question is different for any image format that is already supported, because removing it breaks the web to the extent the format is being used. That's really an argument to be particularly careful about adding support for a new format: once it is widely available for a while it is almost impossible to remove. This is a one-way decision (unless it's barely used, in which case there wasn't a good reason to add it in the first place).
Why single out JPEG XL?