MITRE ATLAS 2026.10 · AML.T0077 · High severity

LLM Response Rendering

Adversaries abuse how client applications render LLM responses (markdown images, hyperlinks, HTML, SVG, or script blocks) to silently exfiltrate sensitive conversation context or trigger client-side cross-site scripting when the victim's browser processes the model output.

Technique dossier overview

Category
Inference privacy
Severity
High
Attack surface
LLM / Prompt Layer · RAG & Retrieval
Framework maturity
Demonstrated
Platforms
Generative AI, Agentic AI
Tactics
Exfiltration
Catalog entry modified

Open AML.T0077 in Interactive Technique Workbench

How the mechanism works

  1. Direct or indirect prompt injection instructs the model to summarize private context and encode it into a URL parameter inside a markdown image or link.
  2. The chat interface renders the model's markdown automatically, causing the victim's browser to issue an image GET request to the attacker's server.
  3. If HTML or script sanitization is weak, rendered payloads execute arbitrary client JavaScript or leak session tokens directly.

Detection & telemetry signals

Architectural defensive countermeasures

Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)

OWASP LLM Top 10 (2025)
OWASP rationale
Unsafe client rendering of model-generated markup is a textbook Improper Output Handling vulnerability (LLM05) triggered by prompt injection (LLM01) to cause silent data exfiltration (LLM02).
NIST AI RMF functions
NIST AI RMF guidance
MAP all client-side markdown and rich-text parsers consuming model tokens, and MANAGE exfiltration risk via strict CSP headers, disabled auto-fetched external images, and URL allowlisting.

Mapped defensive controls

Test with Refract

Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. Replace <model-id> with an OpenRouter route ID; each model page lists a ready-to-run command for its own route.

refract scan \
  --target "openai_compat:<model-id>" \
  --base-url https://openrouter.ai/api/v1 \
  --api-key "$OPENROUTER_API_KEY" \
  --battery markdown_link_exfil
refract report

Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.

Documented incidents & exercises (15)

Source citation records

Common questions

What is LLM Response Rendering (AML.T0077)?
Adversaries abuse how client applications render LLM responses (markdown images, hyperlinks, HTML, SVG, or script blocks) to silently exfiltrate sensitive conversation context or trigger client-side cross-site scripting when the victim's browser processes the model output.
How do you mitigate LLM Response Rendering?
MITRE ATLAS maps 3 mitigations to AML.T0077: Generative AI Guardrails, AI Telemetry Logging and Monitoring, and Input and Output Validation for AI Agent Components. Disable automatic external image rendering and link prefetching inside LLM chat interfaces by default.
How can I test a model for LLM Response Rendering?
Run the Refract markdown_link_exfil pack: refract scan --target "openai_compat:<model-id>" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery markdown_link_exfil, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.