# CVE-2024-35236: Audiobookshelf Cross-Site-Scripting vulnerability via crafted ebooks

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/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.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-05-27T17:03:46.175Z
- Modified: 2026-06-17T07:34:35.880Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Audiobookshelf is a self-hosted audiobook and podcast server. Prior to version 2.10.0, opening an ebook with malicious scripts inside leads to code execution inside the browsing context. Attacking a user with high privileges (upload, creation of libraries) can lead to remote code execution (RCE) in the worst case. This was tested on version 2.9.0 on Windows, but an arbitrary file write is powerful enough as is and should easily lead to RCE on Linux, too. Version 2.10.0 contains a patch for the vulnerability.

(As written by CVE List.)

## Affected

- advplyr audiobookshelf: < 2.10.0; before 2.10.0
- audiobookshelf audiobookshelf: before 2.10.0

## References

- <https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-7j99-76cj-q9pg> (exploit, vendor-advisory)
- <https://github.com/advplyr/audiobookshelf/assets/36849099/46f6dfe0-9860-4ec0-a987-b3a553f7e45d> (exploit)
- <https://github.com/advplyr/audiobookshelf/commit/ce7f891b9b2cb57c6644aaf96f89a8bda6307664> (patch)
- <https://github.com/advplyr/audiobookshelf/blob/04ed4810fdfcafc2e82db536edc5870e3f937d00/client/components/readers/EpubReader.vue#L319> (product)
- <https://github.com/advplyr/audiobookshelf/releases/tag/v2.10.0> (release-notes)

## Sources

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

---

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