Intent-Code Divergence
Low
- Confidence
- 95% confidence
- Finding
- The HTML export path inserts unescaped metadata and section content directly into the generated HTML using string formatting and f-strings. If any title, author, text, or description fields come from untrusted input, an attacker can inject arbitrary HTML or script into the report, leading to stored XSS when the file is opened in a browser.
