We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-46338

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



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.

Reserved 2025-04-22 | Published 2025-04-29 | Updated 2025-04-29 | Assigner GitHub_M


MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 2.21.0
affected

References

github.com/...kshelf/security/advisories/GHSA-47g3-c5hx-2q3w

github.com/...ommit/35870a01583b2947030f4e3d4ac769c3ff298386

cve.org (CVE-2025-46338)

nvd.nist.gov (CVE-2025-46338)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-46338

Support options

Helpdesk Chat, Email, Knowledgebase