Unvalidated Output Injection
- Category
- Output Handling
- Confidence
- 65% confidence
- Finding
Model output is used without validation or sanitization. Unvalidated output injected into downstream contexts (SQL, shell, HTML) enables injection attacks and arbitrary code execution.
- Content
Bad (untrusted):
tsx <div dangerouslySetInnerHTML={{ __html: post.body }} /> // user-authored contentBad (trusted but unsafe encoding):
