CWE
79
EPSS
0.077%
Advisory Published
Updated

CVE-2025-46338: Audiobookshelf Vulnerable to Cross-Site-Scripting Reflected via POST Request in /api/upload

First published: Tue Apr 29 2025(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Audiobookshelf<2.21.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-46338?

    CVE-2025-46338 has a medium severity rating due to its ability to allow attackers to perform reflected cross-site scripting (XSS) attacks.

  • How do I fix CVE-2025-46338?

    To fix CVE-2025-46338, update Audiobookshelf to version 2.21.0 or later which addresses the improper input handling vulnerability.

  • What software versions are affected by CVE-2025-46338?

    CVE-2025-46338 affects all versions of Audiobookshelf prior to version 2.21.0.

  • Can CVE-2025-46338 lead to data breaches?

    Yes, CVE-2025-46338 can lead to data breaches as it allows attackers to execute arbitrary scripts in the context of the user's browser.

  • What is the attack vector for CVE-2025-46338?

    The attack vector for CVE-2025-46338 is the `/api/upload` endpoint, where an attacker can submit malicious payloads using the `libraryId` parameter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203