Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-46338 EUVD-2025-12610

Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload

Published Apr 29, 2025 · Updated Apr 29, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
advplyr audiobookshelf < 2.21.0 —

References