CVE-2026-42887: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in advplyr audiobookshelf
Audiobookshelf versions prior to 2.33.0 contain a stored cross-site scripting (XSS) vulnerability in the login page. This occurs due to improper sanitization of the authLoginCustomMessage field in the /api/auth-settings endpoint. An attacker with administrative privileges can inject arbitrary HTML or JavaScript code that will be executed when other users visit the login page. This vulnerability has a medium severity rating and a CVSS score of 4.5. The issue is fixed in version 2.33.0.
AI Analysis
Technical Summary
CVE-2026-42887 is a stored XSS vulnerability in advplyr's Audiobookshelf product affecting versions before 2.33.0. The vulnerability arises from improper neutralization of input in the authLoginCustomMessage field of the /api/auth-settings endpoint, allowing an attacker with admin privileges to inject malicious HTML/JavaScript. This code is then rendered on the login page for all users, potentially leading to client-side script execution. The CVSS 3.1 base score is 4.5, reflecting network attack vector, low attack complexity, high privileges required, and user interaction needed, with high confidentiality impact but no integrity or availability impact. The vulnerability is resolved in version 2.33.0.
Potential Impact
An attacker with administrative privileges can inject malicious scripts into the login page, which will be executed in the context of users visiting that page. This can lead to disclosure of sensitive information accessible to the browser (confidentiality impact). There is no direct impact on integrity or availability. The vulnerability requires high privileges and user interaction, limiting the ease of exploitation.
Mitigation Recommendations
Upgrade Audiobookshelf to version 2.33.0 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in 2.33.0, applying this official update fully mitigates the issue. No additional mitigations are specified or required.
CVE-2026-42887: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in advplyr audiobookshelf
Description
Audiobookshelf versions prior to 2.33.0 contain a stored cross-site scripting (XSS) vulnerability in the login page. This occurs due to improper sanitization of the authLoginCustomMessage field in the /api/auth-settings endpoint. An attacker with administrative privileges can inject arbitrary HTML or JavaScript code that will be executed when other users visit the login page. This vulnerability has a medium severity rating and a CVSS score of 4.5. The issue is fixed in version 2.33.0.
CVSS v3.1
Score 4.5medium
Affected software
pkg:github/advplyr/audiobookshelfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42887 is a stored XSS vulnerability in advplyr's Audiobookshelf product affecting versions before 2.33.0. The vulnerability arises from improper neutralization of input in the authLoginCustomMessage field of the /api/auth-settings endpoint, allowing an attacker with admin privileges to inject malicious HTML/JavaScript. This code is then rendered on the login page for all users, potentially leading to client-side script execution. The CVSS 3.1 base score is 4.5, reflecting network attack vector, low attack complexity, high privileges required, and user interaction needed, with high confidentiality impact but no integrity or availability impact. The vulnerability is resolved in version 2.33.0.
Potential Impact
An attacker with administrative privileges can inject malicious scripts into the login page, which will be executed in the context of users visiting that page. This can lead to disclosure of sensitive information accessible to the browser (confidentiality impact). There is no direct impact on integrity or availability. The vulnerability requires high privileges and user interaction, limiting the ease of exploitation.
Mitigation Recommendations
Upgrade Audiobookshelf to version 2.33.0 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in 2.33.0, applying this official update fully mitigates the issue. No additional mitigations are specified or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-30T18:49:06.712Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a028779cbff5d86108b80bd
Added to database: 05/12/2026, 01:50:49 UTC
Last enriched: 05/19/2026, 11:00:24 UTC
Last updated: 07/04/2026, 08:51:23 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.