Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-27973

CVE-2026-27973: Audiobookshelf Stored XSS Vulnerability

CVE-2026-27973 is a stored cross-site scripting vulnerability in Audiobookshelf that enables JavaScript execution via malicious library metadata. This article covers the technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27973 Overview

A stored cross-site scripting (XSS) vulnerability has been identified in Audiobookshelf, a self-hosted audiobook and podcast server. This vulnerability exists in versions prior to 0.12.0-beta of the Audiobookshelf mobile application and allows arbitrary JavaScript execution through malicious library metadata. Attackers with library modification privileges can execute code in victim users' browsers or WebViews, potentially leading to session hijacking, data exfiltration, and unauthorized access to native device APIs.

Critical Impact

Attackers can inject malicious JavaScript through library metadata, enabling session hijacking, sensitive data theft, and potential access to native device APIs on mobile devices running the Audiobookshelf app.

Affected Products

  • Audiobookshelf Mobile App versions prior to 0.12.0-beta
  • Audiobookshelf Server versions prior to 2.12.0

Discovery Timeline

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

Technical Details for CVE-2026-27973

Vulnerability Analysis

This stored XSS vulnerability stems from improper input sanitization in the Audiobookshelf mobile application's search card component. The application renders user-controlled library metadata directly into the DOM using Vue.js's v-html directive without proper sanitization. This allows attackers with library modification privileges to inject malicious JavaScript payloads that execute in the context of other users' sessions.

The vulnerability requires network access and user interaction to exploit, as victims must view the maliciously crafted library items. However, once triggered, the XSS payload can access the same origin's cookies, session tokens, and potentially interact with native device APIs through the WebView context on mobile devices.

Root Cause

The root cause is the use of Vue.js's v-html directive to render unsanitized user-supplied metadata in the ItemSearchCard.vue component. The vulnerable code directly interpolates matchHtml content derived from library metadata (including title, subtitle, authors, series, tags, ISBN, ASIN, episode, and narrators fields) into the rendered HTML without proper encoding or sanitization. This violates secure coding practices for handling untrusted input in web applications.

Attack Vector

The attack vector involves an authenticated user with library modification privileges inserting malicious JavaScript into library item metadata fields. When other users search for or view these items in the mobile application, the malicious payload executes in their browser/WebView context. The attack exploits the trust relationship between the application and its users, as library metadata is typically considered safe content.

text
// Vulnerable code pattern (from ItemSearchCard.vue)
// The v-html directive renders unsanitized user content directly into the DOM

<template>
  <div class="flex h-full px-1 overflow-hidden">
    <covers-book-cover :library-item="libraryItem" :width="coverWidth" :book-cover-aspect-ratio="bookCoverAspectRatio" />
-    <div class="flex-grow px-2 audiobookSearchCardContent">
-      <p v-if="matchKey !== 'title'" class="truncate text-sm">{{ title }}</p>
-      <p v-else class="truncate text-sm" v-html="matchHtml" />
-
-      <p v-if="matchKey === 'subtitle'" class="truncate text-xs text-fg-muted">{{ matchHtml }}</p>
-
-      <p v-if="matchKey !== 'authors'" class="text-xs text-fg truncate">by {{ authorName }}</p>
-      <p v-else class="truncate text-xs text-fg" v-html="matchHtml" />
-
-      <div v-if="matchKey === 'series' || matchKey === 'tags' || matchKey === 'isbn' || matchKey === 'asin' || matchKey === 'episode' || matchKey === 'narrators'" class="m-0 p-0 truncate text-xs" v-html="matchHtml" />
+    <div class="grow px-2 audiobookSearchCardContent">
+      <p class="truncate text-sm">{{ title }}</p>
+      <p v-if="subtitle" class="truncate text-xs text-gray-300">{{ subtitle }}</p>
+      <p class="text-xs text-gray-200 truncate">{{ $getString('LabelByAuthor', [authorName]) }}</p>
    </div>
  </div>
</template>

Source: GitHub Commit Details

Detection Methods for CVE-2026-27973

Indicators of Compromise

  • Library metadata fields containing JavaScript code, HTML script tags, or event handlers (e.g., <script>, onerror=, onload=)
  • Unexpected outbound network requests from user sessions to external domains
  • Unusual session activity patterns indicating potential session hijacking
  • Browser console errors or warnings related to cross-origin script execution

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor application logs for suspicious metadata modifications containing HTML or JavaScript patterns
  • Deploy web application firewalls (WAF) to detect XSS payload patterns in API requests
  • Audit library item metadata for potentially malicious content using automated scanning tools

Monitoring Recommendations

  • Enable detailed logging for library metadata modification operations
  • Configure alerts for session anomalies that may indicate token theft or hijacking
  • Monitor for unusual patterns in search query behavior that may indicate exploitation attempts
  • Review WebView JavaScript bridge access patterns on mobile applications

How to Mitigate CVE-2026-27973

Immediate Actions Required

  • Upgrade Audiobookshelf mobile app to version 0.12.0-beta or later
  • Upgrade Audiobookshelf server to version 2.12.0 or later
  • Audit existing library metadata for potentially malicious content
  • Review and restrict library modification privileges to trusted users only
  • Invalidate existing user sessions as a precautionary measure

Patch Information

The vulnerability has been addressed in audiobookshelf-app version 0.12.0-beta, corresponding to audiobookshelf server version 2.12.0. The fix removes the use of v-html directives for rendering user-controlled metadata and replaces them with safe text interpolation using Vue.js's double-curly-brace syntax, which automatically HTML-encodes output.

The security patch is available via the GitHub commit. Additional details can be found in the GitHub Security Advisory.

Workarounds

  • Restrict library modification privileges to only highly trusted administrators
  • Implement input validation on metadata fields at the server level to reject HTML/JavaScript content
  • Deploy a Content Security Policy (CSP) that blocks inline script execution
  • Consider temporarily disabling the search functionality if immediate patching is not possible
bash
# Configuration example - Implementing CSP headers (nginx)
# Add to your nginx server configuration for the Audiobookshelf proxy

location / {
    # Block inline scripts to mitigate XSS attacks
    add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self';" always;
    
    proxy_pass http://localhost:13378;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

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.0

  • EPSS Probability0.04%

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

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27974: Audiobookshelf Mobile App 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