Slide 7 of 27
Part 1 · What Is It?Slide 7
Slide 7 · The Outcomes
When output handling fails, the consequences are severe.
These aren’t theoretical — they follow directly from the attack patterns.
🔒
Account Takeover
XSS from LLM output steals session cookies or auth tokens. Attacker gains full access to the victim’s account without knowing their password.
💸
Data Exfiltration
SQL injection via LLM-generated queries dumps database tables. Customer records, credentials, financial data — all at risk.
🔥
Full System Compromise (RCE)
LLM-generated code executed by the host gives the attacker a shell. CVSS 9.8 vulnerabilities in LangChain and Vanna.AI both demonstrated this.
⚠️
Regulatory & Legal Exposure
A breach caused by missing output sanitization can trigger GDPR fines, SEC disclosures, and customer-facing liability — especially if PII was exposed.
← BackNext → The one rule that covers all of this