Cornstarch can potentially increase the risk of fungal infections and may be irritating to the skin. It may also be challenging to apply evenly to form a complete protective layer. It is recommended to consult with a healthcare professional for advice on treating diaper rash.