Low severity · published Jun 28, 2024
CVE-2024-39307
Cross-Site Scripting (XSS) vulnerability via crafted ebooks in Kavita
3.5
CVSS
0.5%
EPSS
No
On KEV
Description
Kavita is a cross platform reading server. Opening an ebook with malicious scripts inside leads to code execution inside the browsing context. Kavita doesn't sanitize or sandbox the contents of epubs, allowing scripts inside ebooks to execute. This vulnerability was patched in version 0.8.1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KA
Kavita · Kareadita
<= 0.8.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-39307
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-39307
github.com
https://github.com/Kareadita/Kavita/security/advisories/GHSA-r4qc-3w52-2v84
More from Kavita
9.3
CVE-2026-47202
Kavita: Pre-Auth Account Takeover
7.5
CVE-2022-51024
Kavita < 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint
6.9
CVE-2026-44775
Kavita: No authentication at /api/Reader/image
5.9
CVE-2026-44776
Kavita: IDOR in /api/Download/*
3.1
CVE-2026-110223
Kavita 0.9.0 through 0.9.1.4 SSRF Blocklist Bypass via upload-cbl-file Endpoint
