Description-Behavior Mismatch
Medium
- Confidence
- 93% confidence
- Finding
- The script can synthesize and write HTML into the comments field via analysis/comments_html, which exceeds the stated role of editing standard metadata like title, authors, series, and tags. Because the HTML content is built from input fields without escaping, an attacker controlling input could persist unsafe markup into Calibre comments, creating stored content-injection risk in downstream viewers or interfaces.
