# CVE-2024-39307: Cross-Site Scripting (XSS) vulnerability via crafted ebooks in Kavita

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 47% of CVEs (2026-11-30)
- Published: 2024-06-28T20:44:53.930Z
- Modified: 2026-06-17T07:41:41.033Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Kareadita Kavita: <= 0.8.0

## References

- <https://github.com/Kareadita/Kavita/security/advisories/GHSA-r4qc-3w52-2v84>

## Sources

- CVE List: [CVE-2024-39307](https://www.cve.org/CVERecord?id=CVE-2024-39307), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-39307](https://nvd.nist.gov/vuln/detail/CVE-2024-39307), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39307 · Whole record: https://cve.day/CVE-2024-39307.json · Rebuilt by cve.day 2026-11-25T22:58:42.327Z
