Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The generated HTML safely escapes most user-controlled content on the server side, but the client-side tooltip code assigns attacker-controlled region/info values into `innerHTML`. If untrusted research data contains HTML or script-like payloads, opening the generated report can trigger stored XSS in the viewer’s browser. This is more dangerous in this skill’s context because the tool explicitly turns external research content and source metadata into shareable interactive HTML reports, so untrusted input is expected.
