Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The HTML export path embeds untrusted session message content directly into HTML after only replacing newlines with <br>, without escaping characters like <, >, &, quotes, or filtering dangerous tags/attributes. If a user or assistant message contains HTML or script payloads, opening the exported report in a browser can trigger stored XSS in the local report context, which is especially plausible because this skill processes arbitrary chat content and media URLs from generated sessions.
