Only the latest version of DietPi-Dashboard has security updates.
If you discover a security vulnerability, please email both ravenclaw900@proton.me and micha@dietpi.com with all relevant details, so that we may fix it without having it be discovered.