CVE-2025-46338 - CVE House
Back to Database
Status published Medium CVE-2025-46338

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

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-46338

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

audiobookshelf
Vulnerable Versions:
< 2.21.0

Timeline

Official Publish: April 29th, 2025
Last Modified: April 29th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)