Audiobookshelf Cross-Site-Scripting vulnerability via crafted ebooks
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-35236
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:58 UTC · Revision 1
Source evidence
Audiobookshelf Cross-Site-Scripting vulnerability via crafted ebooks
core-osv · Original sourcePublished 27 May 2024, 17:03 UTC
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.
osv:CVE-2024-35236
Complete source record
{
"id": "d81e1351f0c5ab7dd6b1d59270d9a1bab14cbde6adfaf90a8cfef3cea2ffa438",
"url": "https://osv.dev/vulnerability/CVE-2024-35236",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Audiobookshelf Cross-Site-Scripting vulnerability via crafted ebooks",
"summary": "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.",
"evidence": "osv:CVE-2024-35236",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-35236",
"aliases": [
"CVE-2024-35236",
"GHSA-7j99-76cj-q9pg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/advplyr/audiobookshelf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bf893a56c93a9c56c5630ce073046bde8780536b"
},
{
"fixed": "ce7f891b9b2cb57c6644aaf96f89a8bda6307664"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:audiobookshelf:audiobookshelf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.10.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ce7f891b9b2cb57c6644aaf96f89a8bda6307664"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bf893a56c93a9c56c5630ce073046bde8780536b"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.10.0"
}
]
}
}
],
"versions": [
"v2.9.0",
"v2.8.1",
"v2.8.0",
"v2.7.2",
"v2.7.1",
"v2.7.0",
"v2.6.0",
"v2.5.0",
"v2.4.4",
"v2.4.3",
"v2.4.2",
"v2.4.1",
"v2.4.0",
"v2.3.5",
"v2.3.4",
"v2.3.3",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.23",
"v2.2.22",
"v2.2.21",
"v2.2.20",
"v2.2.19",
"v2.2.18",
"v2.2.17",
"v2.2.15",
"v2.2.16",
"v2.2.14",
"v2.2.13",
"v2.2.12",
"v2.2.11",
"v2.2.10",
"v2.2.9",
"v2.2.8",
"v2.2.7",
"v2.2.6",
"v2.2.5",
"v2.2.4",
"v2.2.3",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.24",
"v2.0.23",
"v2.0.22",
"v2.0.21",
"v2.0.20",
"v2.0.19",
"v2.0.18",
"v2.0.17",
"v2.0.16",
"v2.0.15",
"v2.0.14",
"v2.0.13",
"v2.0.12",
"v2.0.11",
"v2.0.10",
"v2.0.9",
"v2.0.8",
"v2.0.7",
"v2.0.6",
"v2.0.5",
"v2.0.4",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.0",
"v1.5.5",
"v1.5.0",
"v1.4.11",
"v1.4.9",
"v1.4.7",
"v1.4.6",
"v1.4.4",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.4",
"v1.3.3",
"v1.3.1",
"v1.2.8",
"v1.2.6",
"v1.2.5",
"v1.2.4",
"v1.2.1",
"v1.1.15",
"v1.1.14",
"v1.1.13",
"v1.1.12",
"v1.1.11",
"v1.1.10",
"v1.1.9",
"v1.1.8",
"v1.0.0",
"0.9.61-beta.0",
"0.9.61-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35236.json"
}
}
],
"modified": "2026-10-28T02:30:52.429093254Z",
"provider": "osv",
"references": [
"https://github.com/advplyr/audiobookshelf/assets/36849099/46f6dfe0-9860-4ec0-a987-b3a553f7e45d",
"https://github.com/advplyr/audiobookshelf/blob/04ed4810fdfcafc2e82db536edc5870e3f937d00/client/components/readers/EpubReader.vue#L319",
"https://github.com/advplyr/audiobookshelf/releases/tag/v2.10.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35236.json",
"https://github.com/advplyr/audiobookshelf/security/advisories/GHSA-7j99-76cj-q9pg",
"https://nvd.nist.gov/vuln/detail/CVE-2024-35236",
"https://github.com/advplyr/audiobookshelf/commit/ce7f891b9b2cb57c6644aaf96f89a8bda6307664"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35236.json"
}
},
"related_cves": [
{
"value": "CVE-2024-35236",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521151,
"published_at": "2024-05-27T17:03:46.175+00:00"
}