Audiobookshelf is a self-hosted audiobook and podcast server. Prior to version 2.21.0, an improper input handling vulnerability in the `/api/upload` endpoint allows an attacker to perform a reflected cross-site scripting (XSS) attack by submitting malicious payloads in the `libraryId` field. The unsanitized input is reflected in the server’s error message, enabling arbitrary JavaScript execution in a victim's browser. This issue has been patched in version 2.21.0.
History

Fri, 09 May 2025 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Audiobookshelf
Audiobookshelf audiobookshelf
CPEs cpe:2.3:a:audiobookshelf:audiobookshelf:*:*:*:*:*:*:*:*
Vendors & Products Audiobookshelf
Audiobookshelf audiobookshelf
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Tue, 29 Apr 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Apr 2025 04:45:00 +0000

Type Values Removed Values Added
Description Audiobookshelf is a self-hosted audiobook and podcast server. Prior to version 2.21.0, an improper input handling vulnerability in the `/api/upload` endpoint allows an attacker to perform a reflected cross-site scripting (XSS) attack by submitting malicious payloads in the `libraryId` field. The unsanitized input is reflected in the server’s error message, enabling arbitrary JavaScript execution in a victim's browser. This issue has been patched in version 2.21.0.
Title Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-04-29T04:34:44.713Z

Updated: 2025-04-29T13:37:57.632Z

Reserved: 2025-04-22T22:41:54.912Z

Link: CVE-2025-46338

cve-icon Vulnrichment

Updated: 2025-04-29T13:37:37.961Z

cve-icon NVD

Status : Analyzed

Published: 2025-04-29T05:15:46.983

Modified: 2025-05-09T19:37:37.027

Link: CVE-2025-46338

cve-icon Redhat

No data.