LLM01 often enables LLM05. An attacker uses prompt injection to produce a malicious output — then LLM05 is what lets that output execute. But LLM05 can happen with no injection at all: a model might spontaneously produce HTML or code that’s dangerous when rendered, or an attacker might manipulate data the model reads (indirect injection) without ever touching the prompt directly.
Prompt Injection (LLM01): "Is the model doing what we intended?"
Improper Output Handling (LLM05): "Is the app handling the model’s response safely?"