CVE-2026-27973: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in advplyr audiobookshelf
Audiobookshelf is a self-hosted audiobook and podcast server. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 0.12.0-beta of the Audiobookshelf mobile application that allows arbitrary JavaScript execution through malicious library metadata. Attackers with library modification privileges can execute code in victim users' browsers/WebViews, potentially leading to session hijacking, data exfiltration, and unauthorized access to native device APIs. The issue is fixed in audiobookshelf-app version 0.12.0-beta, corresponding to audiobookshelf version 2.12.0.
AI Analysis
Technical Summary
CVE-2026-27973 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79, found in the Audiobookshelf self-hosted audiobook and podcast server application developed by advplyr. This vulnerability exists in versions prior to 2.12.0 and specifically affects the Audiobookshelf mobile application before version 0.12.0-beta. The issue arises from improper neutralization of input during web page generation, allowing malicious JavaScript code to be injected into library metadata fields. An attacker who has privileges to modify the audiobook library can embed arbitrary JavaScript code that is then stored and executed in the browsers or WebViews of other users who access the affected metadata. This execution context enables attackers to perform actions such as session hijacking, exfiltration of sensitive data, and unauthorized access to native device APIs, potentially compromising user confidentiality and integrity. The vulnerability requires the attacker to have authenticated access with library modification rights and user interaction to trigger the payload, which reduces the attack surface. The vulnerability was assigned a CVSS v3.1 base score of 4.0, reflecting medium severity, with the vector indicating network attack vector, high attack complexity, privileges required, user interaction needed, and partial impact on confidentiality and integrity but no impact on availability. The issue was publicly disclosed and fixed in Audiobookshelf version 2.12.0 and the corresponding mobile app version 0.12.0-beta. No known exploits have been reported in the wild to date.
Potential Impact
The primary impact of this vulnerability is the potential compromise of user sessions and sensitive data through the execution of arbitrary JavaScript in victim browsers or WebViews. Attackers with library modification privileges can leverage this to hijack sessions, steal authentication tokens, or access sensitive user information. Additionally, unauthorized access to native device APIs could lead to further compromise of the device or application environment. While the vulnerability does not directly affect system availability, the breach of confidentiality and integrity can lead to significant operational and reputational damage. Organizations relying on Audiobookshelf for internal or public audiobook and podcast distribution may face risks of unauthorized data access and potential lateral movement within their networks if attackers escalate privileges. However, the requirement for attacker privileges and user interaction limits the scope and ease of exploitation, somewhat mitigating widespread impact.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade Audiobookshelf to version 2.12.0 or later and update the mobile application to version 0.12.0-beta or newer. Restrict library modification privileges strictly to trusted users and implement robust access controls to minimize the risk of malicious metadata injection. Employ input validation and sanitization on all user-supplied metadata fields to prevent injection of executable scripts. Additionally, consider implementing Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the application context. Regularly audit user permissions and monitor logs for unusual modification activities in the audiobook library. Educate users about the risks of interacting with untrusted content and encourage prompt application updates. Finally, maintain an incident response plan to quickly address any detected exploitation attempts.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, Sweden, Japan, South Korea
CVE-2026-27973: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in advplyr audiobookshelf
Description
Audiobookshelf is a self-hosted audiobook and podcast server. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 0.12.0-beta of the Audiobookshelf mobile application that allows arbitrary JavaScript execution through malicious library metadata. Attackers with library modification privileges can execute code in victim users' browsers/WebViews, potentially leading to session hijacking, data exfiltration, and unauthorized access to native device APIs. The issue is fixed in audiobookshelf-app version 0.12.0-beta, corresponding to audiobookshelf version 2.12.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-27973 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79, found in the Audiobookshelf self-hosted audiobook and podcast server application developed by advplyr. This vulnerability exists in versions prior to 2.12.0 and specifically affects the Audiobookshelf mobile application before version 0.12.0-beta. The issue arises from improper neutralization of input during web page generation, allowing malicious JavaScript code to be injected into library metadata fields. An attacker who has privileges to modify the audiobook library can embed arbitrary JavaScript code that is then stored and executed in the browsers or WebViews of other users who access the affected metadata. This execution context enables attackers to perform actions such as session hijacking, exfiltration of sensitive data, and unauthorized access to native device APIs, potentially compromising user confidentiality and integrity. The vulnerability requires the attacker to have authenticated access with library modification rights and user interaction to trigger the payload, which reduces the attack surface. The vulnerability was assigned a CVSS v3.1 base score of 4.0, reflecting medium severity, with the vector indicating network attack vector, high attack complexity, privileges required, user interaction needed, and partial impact on confidentiality and integrity but no impact on availability. The issue was publicly disclosed and fixed in Audiobookshelf version 2.12.0 and the corresponding mobile app version 0.12.0-beta. No known exploits have been reported in the wild to date.
Potential Impact
The primary impact of this vulnerability is the potential compromise of user sessions and sensitive data through the execution of arbitrary JavaScript in victim browsers or WebViews. Attackers with library modification privileges can leverage this to hijack sessions, steal authentication tokens, or access sensitive user information. Additionally, unauthorized access to native device APIs could lead to further compromise of the device or application environment. While the vulnerability does not directly affect system availability, the breach of confidentiality and integrity can lead to significant operational and reputational damage. Organizations relying on Audiobookshelf for internal or public audiobook and podcast distribution may face risks of unauthorized data access and potential lateral movement within their networks if attackers escalate privileges. However, the requirement for attacker privileges and user interaction limits the scope and ease of exploitation, somewhat mitigating widespread impact.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately upgrade Audiobookshelf to version 2.12.0 or later and update the mobile application to version 0.12.0-beta or newer. Restrict library modification privileges strictly to trusted users and implement robust access controls to minimize the risk of malicious metadata injection. Employ input validation and sanitization on all user-supplied metadata fields to prevent injection of executable scripts. Additionally, consider implementing Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the application context. Regularly audit user permissions and monitor logs for unusual modification activities in the audiobook library. Educate users about the risks of interacting with untrusted content and encourage prompt application updates. Finally, maintain an incident response plan to quickly address any detected exploitation attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-25T03:24:57.793Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699fabd8b7ef31ef0b7dea2c
Added to database: 2/26/2026, 2:11:36 AM
Last enriched: 3/5/2026, 11:35:35 AM
Last updated: 4/11/2026, 6:13:54 PM
Views: 62
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.
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.