CVE-2025-46338: Audiobookshelf
Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.
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
- Audiobookshelf Audiobookshelf: before 2.21.0 (fixed in 2.21.0)
Published 2025-04-29. Last modified 2026-06-17.