Description-Behavior Mismatch
Medium
- Confidence
- 95% confidence
- Finding
- The non-MDX path explicitly enables dangerous HTML with `allowDangerousHtml: true` and parses raw HTML via `rehypeRaw`, so attacker-controlled Markdown can inject arbitrary HTML into the rendered output. In a card-generation/rendering skill, this exceeds expected plain Markdown handling and can lead to XSS or unsafe content injection if the HTML is later displayed in a browser, webview, or downstream renderer.
