This is often a false positive. Submit the file to Microsoft via Defender > History, or temporarily restore the file. However, always re-scan with a second opinion tool like Malwarebytes. If you are unsure, download the latest XAMPP version instead.
: Using version 3.2.2 means using outdated versions of PHP and MariaDB that contain known security vulnerabilities. It is highly recommended to use the latest stable release (e.g., 8.2.x) unless you are maintaining a legacy application. Verification & Installation xampp 3.2.2 download 64 bit
Avoid using download accelerators or manager tools, as they often corrupt the installer. This is often a false positive