A hacker puts malicious code into a website’s form in a blank intended for a home address. What is this an example of?

This is an example of a form of cyber attack known as a code injection attack. In this case, the hacker is injecting malicious code into the website's form in order to exploit vulnerabilities and potentially compromise the security of the website and its users.