Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA audiobookshelf (advplyr) Fixed in 2.21.0
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46338
References
More advplyr Audiobookshelf vulnerabilities
- TI-2025-18874 Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching CVSS 3.1HIGH 8.2
- TI-2025-35683 Audiobookshelf vulnerable to OIDC token exfiltration and account takeover CVSS 3.1HIGH 8.8
- TI-2023-25761 Audiobookshelf Server-Side Request Forgery and Arbitrary File Read Vulnerability CVSS 3.1HIGH 8.1
- TI-2024-29391 Path Traversal in audiobookshelf CVSS 3.1MEDIUM 6.3
- TI-2026-22306 Audiobookshelf has Stored XSS in Tooltip.vue via Audiobook Metadata CVSS 3.1MEDIUM 4.8
- TI-2024-23305 Audiobookshelf Cross-Site-Scripting vulnerability via crafted ebooks CVSS 3.1MEDIUM 4.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences