The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27974

CVE-2026-27974: Audiobookshelf Mobile App XSS Vulnerability

CVE-2026-27974 is a cross-site scripting flaw in Audiobookshelf mobile application that enables arbitrary JavaScript execution via malicious metadata. This post covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27974 Overview

CVE-2026-27974 is a Cross-Site Scripting (XSS) vulnerability affecting the Audiobookshelf mobile application, a self-hosted audiobook and podcast server. This vulnerability allows arbitrary JavaScript execution through malicious library metadata in versions prior to 0.12.0-beta. Attackers with library modification privileges or control over a malicious podcast RSS feed can execute code in victim users' WebViews, potentially leading to session hijacking, data exfiltration, and unauthorized access to native device APIs.

Critical Impact

Attackers can execute arbitrary JavaScript in victim WebViews, enabling session hijacking, data exfiltration, and unauthorized access to native device APIs through malicious library metadata or podcast RSS feeds.

Affected Products

  • Audiobookshelf Mobile Application versions prior to 0.12.0-beta
  • Self-hosted Audiobookshelf servers with vulnerable mobile clients
  • Users consuming podcast RSS feeds from untrusted sources

Discovery Timeline

  • 2026-02-26 - CVE CVE-2026-27974 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27974

Vulnerability Analysis

This Cross-Site Scripting (XSS) vulnerability exists in the Audiobookshelf mobile application's handling of library metadata content. The application fails to properly sanitize user-controlled data before rendering it in the WebView context. When library metadata containing malicious JavaScript is processed by the application, the script executes within the WebView environment with the same privileges as the legitimate application code.

The vulnerability is particularly dangerous because it can be triggered through multiple attack vectors: an attacker with library modification privileges on a shared Audiobookshelf server can inject malicious metadata, or an attacker can set up a malicious podcast RSS feed that contains crafted metadata payloads. When victims interact with the compromised content through the mobile application, the injected JavaScript executes automatically.

The impact extends beyond typical web-based XSS because mobile WebViews often have access to native device APIs through JavaScript bridges, potentially allowing attackers to access device features, stored credentials, or other sensitive application data.

Root Cause

The root cause of CVE-2026-27974 is improper output encoding in the Audiobookshelf mobile application's UI components. Specifically, the WrappingMarquee.js component was using methods that interpret HTML content rather than treating input as plain text. This allowed attacker-controlled metadata values to be interpreted as executable HTML/JavaScript rather than being rendered as harmless text content.

The vulnerability stems from the use of HTML-aware DOM manipulation methods instead of safer alternatives like textContent that treat input strictly as text data.

Attack Vector

The attack vector for this vulnerability is network-based and requires some user interaction. An attacker can exploit this vulnerability through two primary methods:

  1. Library Modification Attack: An attacker with elevated privileges on a shared Audiobookshelf server can modify library metadata (such as audiobook titles, descriptions, or author names) to include malicious JavaScript payloads.

  2. Malicious Podcast Feed Attack: An attacker can create or compromise a podcast RSS feed to include XSS payloads in episode metadata, titles, or descriptions that get rendered by the mobile application.

When a victim user views the compromised content in the Audiobookshelf mobile app, the malicious JavaScript executes within the WebView context, allowing the attacker to steal session tokens, exfiltrate user data, or potentially access native device APIs.

javascript
// Security patch in assets/WrappingMarquee.js - Update WrappingMarquee to use textContent
   #scrollSpeed = 30
 
   /**
-   * @param {HTMLElement} el 
+   * @param {HTMLElement} el
    */
   constructor(el) {
     this.el = el

Source: GitHub Commit Update

The patch demonstrates the fix involves updating DOM manipulation to use textContent instead of HTML-aware methods, ensuring user-controlled data is treated as plain text.

Detection Methods for CVE-2026-27974

Indicators of Compromise

  • Unusual JavaScript execution patterns in Audiobookshelf mobile application logs
  • Library metadata containing HTML tags, script elements, or event handlers (e.g., <script>, onerror=, onload=)
  • Unexpected outbound network connections from the mobile application to unknown domains
  • Session tokens or authentication data being transmitted to unauthorized endpoints

Detection Strategies

  • Monitor podcast RSS feeds consumed by users for suspicious HTML/JavaScript content in metadata fields
  • Implement content security monitoring on Audiobookshelf server to detect XSS payloads in library metadata
  • Review mobile application WebView logs for JavaScript errors or unexpected script execution
  • Deploy network monitoring to identify data exfiltration attempts from mobile devices running vulnerable app versions

Monitoring Recommendations

  • Enable verbose logging in the Audiobookshelf mobile application to capture WebView activity
  • Monitor authentication token usage for signs of session hijacking
  • Implement alerting for library metadata modifications containing script-like content
  • Track mobile application version distribution to identify users running vulnerable versions prior to 0.12.0-beta

How to Mitigate CVE-2026-27974

Immediate Actions Required

  • Update the Audiobookshelf mobile application to version 0.12.0-beta or later immediately
  • Audit existing library metadata for any potentially malicious content
  • Review podcast RSS feed sources and remove any untrusted or suspicious feeds
  • Invalidate and rotate session tokens for users who may have accessed compromised content

Patch Information

The vulnerability has been addressed in audiobookshelf-app version 0.12.0-beta. The fix modifies the WrappingMarquee.js component to use textContent for DOM manipulation instead of HTML-aware methods, ensuring that user-controlled metadata is rendered as plain text rather than interpreted as HTML/JavaScript.

For detailed information about the security fix, refer to the GitHub Security Advisory GHSA-8c9r-pvrj-vcf5 and the commit implementing the fix.

Workarounds

  • Restrict library modification privileges to trusted administrators only until the patch is applied
  • Avoid adding podcast RSS feeds from untrusted or unknown sources
  • Consider temporarily disabling podcast functionality if immediate patching is not possible
  • Implement server-side metadata sanitization to strip HTML content before it reaches mobile clients
bash
# Configuration example
# Verify Audiobookshelf mobile app version
# Users should update to version 0.12.0-beta or later
# Check app version in Settings > About

# For server administrators: Review library metadata for suspicious content
# Look for patterns like: <script>, javascript:, onerror=, onclick=

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAudiobookshelf

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-8c9r-pvrj-vcf5
  • Related CVEs
  • CVE-2026-27973: Audiobookshelf Stored XSS Vulnerability

  • CVE-2026-27963: Audiobookshelf Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English