HIGHOWASP LLM Top 10 LLM05:2025
Improper Output Handling
Improper output handling occurs when downstream systems trust and process LLM-generated content without adequate validation, enabling attacks such as cross-site scripting, SQL injection, or command injection through model outputs. This is especially dangerous in enterprise architectures where LLM outputs feed directly into web applications, databases, APIs, or automated workflows without sanitization. When evaluating solutions, prioritize vendors that offer output encoding, structured output validation, content-type enforcement, and sandbox execution for generated code. This challenge corresponds to OWASP LLM Top 10 (LLM02) and requires treating all model outputs as untrusted input to downstream systems.