CVE-2024-7008
Published: 06 August 2024
Summary
CVE-2024-7008 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Calibre-Ebook Calibre. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 5.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Calibre versions up to and including 7.15.0 contain a reflected cross-site scripting vulnerability (CWE-79) caused by insufficient sanitization of user-supplied input. The flaw received a CVSS 3.1 score of 5.4 and affects the application's handling of web content rendered in the browser.
An unauthenticated remote attacker can exploit the issue by crafting a malicious link or request that is opened by a victim user, resulting in execution of arbitrary script in the context of the Calibre web interface. Successful exploitation allows limited reading and modification of data accessible to that interface but does not directly impact availability.
The referenced GitHub commit (863abac) implements input sanitization to close the vector, and the StarLabs advisory provides technical details for affected deployments. Administrators should upgrade to a version containing the fix. The associated EPSS score has reached a peak of 0.1633, indicating moderate and sustained exploitation interest following disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-48029
Vulnerability details
Unsanitized user-input in Calibre <= 7.15.0 allow attackers to perform reflected cross-site scripting.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.