CVE-2024-7008 Calibre Reflected Cross-Site Scripting (XSS)
Attackers can execute arbitrary scripts in the Calibre desktop application via reflected cross-site scripting due to unsanitized user input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-7008?
CVE-2024-7008 is a medium-severity cross-site scripting vulnerability in Calibre, published on 6 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Unsanitized user-input in Calibre <= 7.15.0 allow attackers to perform reflected cross-site scripting.
Weakness: CWE-79
Which versions are affected by CVE-2024-7008?
It affects 1 product.
Products include Calibre-Ebook Calibre.
How do I fix CVE-2024-7008?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-7008 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7008 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Calibre
- CVE-2011-4124 Command injection in Calibre
- CVE-2011-4125 Privilege escalation in Calibre
- CVE-2026-26064 calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution
- CVE-2026-26065 calibre: Path Traversal can Lead to Arbitrary File Write and Potential Code Execution
- CVE-2026-25635 calibre has a Path Traversal Leading to Arbitrary File Write and Potential Code Execution
Sources
Also known as DEBIAN-CVE-2024-7008, GHSA-5q8g-5hhx-x3c8, UBUNTU-CVE-2024-7008.