Cross-site scripting in Calibre - #VU146756
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary JavaScript in the victim's browser.
The vulnerability exists due to cross-site scripting in the legacy content server book details page when rendering crafted identifier metadata through the /legacy/book/{book_id}/{library_id} endpoint. A remote user can upload or add a malicious EPUB with a crafted dc:identifier value to execute arbitrary JavaScript in the victim's browser.
User interaction is required to view the affected legacy book details page, and the legacy endpoint remains reachable through older clients and direct URLs.