Severity by source
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Lifecycle Timeline
3DescriptionGitHub Advisory
Audiobookshelf is a self-hosted audiobook and podcast server. Prior to 2.33.0, a stored cross-site scripting (XSS) vulnerability exists in the Login Page due to improper sanitization of the authLoginCustomMessage field of the /api/auth-settings endpoint. An attacker with administrative privileges can inject arbitrary HTML/JavaScript that will be rendered on the login page for all users. This vulnerability is fixed in 2.33.0.
AnalysisAI
Stored cross-site scripting (XSS) in Audiobookshelf prior to 2.33.0 allows authenticated administrators to inject malicious HTML and JavaScript into the authLoginCustomMessage field via the /api/auth-settings endpoint, which is then rendered on the login page for all users without sanitization. This enables attackers with admin credentials to capture user credentials, perform account takeover, or redirect users to phishing sites. No public exploit code identified at time of analysis.
Technical ContextAI
Audiobookshelf is a self-hosted audiobook and podcast server application. The vulnerability exists in the authentication settings API endpoint (/api/auth-settings) which accepts user-controlled input for the authLoginCustomMessage field-a field intended to display custom text on the login page. The application fails to implement proper input sanitization or output encoding before rendering this message in the HTML context, allowing the CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability class. The stored nature of this XSS means the malicious payload persists in the application state and executes every time any user navigates to or loads the login page.
RemediationAI
Upgrade Audiobookshelf to version 2.33.0 or later, which includes fixes for the authLoginCustomMessage sanitization. For organizations unable to immediately patch, implement network-level access controls restricting access to the /api/auth-settings endpoint to trusted administrative networks only, and disable the custom login message feature if the application supports such configuration. Additionally, review audit logs for suspicious modifications to authentication settings and monitor for unusual login page behavior or user reports of unexpected content on the login screen. These compensating controls reduce exposure but do not eliminate the risk if an admin account is compromised.
More in Audiobookshelf
View allAudiobookshelf is a self-hosted audiobook and podcast server. Rated high severity (CVSS 8.2), this vulnerability is remo
Unauthenticated arbitrary file read in audiobookshelf exploits a URL-encoding normalization gap between the Express auth
Audiobookshelf is a self-hosted audiobook and podcast server. Rated medium severity (CVSS 6.9), this vulnerability is re
Audiobookshelf is a self-hosted audiobook and podcast server. Rated medium severity (CVSS 6.5), this vulnerability is re
Audiobookshelf is a self-hosted audiobook and podcast server. Rated medium severity (CVSS 6.5), this vulnerability is re
Stored XSS in Audiobookshelf prior to version 2.32.0 enables privileged users to inject malicious code into library meta
Audiobookshelf is a self-hosted audiobook and podcast server. Rated medium severity (CVSS 4.8), this vulnerability is re
audiobookshelf is a self-hosted audiobook and podcast server. Rated medium severity (CVSS 4.3), this vulnerability is re
Audiobookshelf is a self-hosted audiobook and podcast server. Rated high severity (CVSS 7.5), this vulnerability is remo
Audiobookshelf is a self-hosted audiobook and podcast server. Rated high severity (CVSS 7.5), this vulnerability is remo
Path traversal in Audiobookshelf's podcast creation endpoint allows attackers to write files outside the intended librar
Authenticated users with download permissions in Audiobookshelf prior to 2.32.2 can download files from libraries they d
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29210