Improper control of generation of code ('code injection') in ASP.NET Core allows an unauthorized attacker to execute code over a network.