Constructing operating system or shell commands with unsanitized user input can lead to inadvertently running malicious code.