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-2025-65858

CVE-2025-65858: Calibre-Web Stored XSS Vulnerability

CVE-2025-65858 is a stored XSS vulnerability in Calibre-Web v0.6.25 allowing attackers to inject malicious scripts via the username field. This post covers technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-65858 Overview

A Stored Cross-Site Scripting (XSS) vulnerability exists in Calibre-Web v0.6.25 that allows attackers to inject malicious JavaScript into the username field during user creation. The payload is stored unsanitized in the application database and later executed when the /ajax/listusers endpoint is accessed. This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Attackers with administrative privileges can inject persistent JavaScript code that executes in the browser context of other administrators viewing user lists, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of legitimate users.

Affected Products

  • Calibre-Web v0.6.25

Discovery Timeline

  • 2025-12-02 - CVE-2025-65858 published to NVD
  • 2025-12-02 - Last updated in NVD database

Technical Details for CVE-2025-65858

Vulnerability Analysis

This Stored XSS vulnerability exists in Calibre-Web's user management functionality. The application fails to properly sanitize user input in the username field when creating new user accounts. When an attacker with sufficient privileges (typically administrator) creates a new user account, they can embed malicious JavaScript code within the username parameter. This malicious payload is then stored in the application's database without proper encoding or sanitization.

The CVSS v3.1 score is 3.5 (Low) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N. This indicates:

  • Attack Vector: Network-based exploitation
  • Attack Complexity: Low - straightforward to exploit
  • Privileges Required: High - attacker needs administrative access
  • User Interaction: Required - victim must access the affected endpoint
  • Scope: Unchanged - impact limited to the vulnerable component
  • Confidentiality/Integrity Impact: Low
  • Availability Impact: None

The EPSS (Exploit Prediction Scoring System) data shows a probability of 0.029% with a percentile of 7.516, indicating relatively low likelihood of exploitation in the wild.

Root Cause

The root cause of this vulnerability is improper input validation and output encoding in the Calibre-Web application. Specifically, the application does not sanitize special characters and HTML/JavaScript content in the username field during user creation. Additionally, when the user list is rendered via the /ajax/listusers endpoint, the stored username values are reflected in the HTML response without proper output encoding, allowing the injected scripts to execute in the victim's browser.

Attack Vector

The attack requires network access and elevated privileges within the Calibre-Web application. An attacker with administrative access to the user management functionality can craft a malicious username containing JavaScript code. When this payload is submitted through the user creation form, it is stored in the database. Subsequently, when any administrator navigates to view the user list via the /ajax/listusers endpoint, the malicious JavaScript executes in their browser context.

The vulnerability could be exploited to steal session cookies, perform actions on behalf of other administrators, redirect users to malicious sites, or modify page content to facilitate further social engineering attacks.

Detection Methods for CVE-2025-65858

Indicators of Compromise

  • Suspicious usernames in the Calibre-Web database containing HTML tags, script elements, or encoded JavaScript payloads
  • Unusual characters or escape sequences in user account names (e.g., <script>, javascript:, onerror=, onload=)
  • Web application firewall (WAF) logs showing XSS payload patterns in user creation requests
  • Browser console errors or unexpected script execution when viewing the /ajax/listusers endpoint

Detection Strategies

Organizations should implement monitoring for XSS patterns in user input fields, particularly focusing on the user creation and management endpoints. Web application firewalls can be configured to detect and block common XSS payloads in POST requests to user management APIs. Regular security audits of the database for suspicious content in username fields can help identify existing compromises.

Log analysis should focus on:

  1. HTTP POST requests to user creation endpoints containing suspicious characters
  2. Access patterns to the /ajax/listusers endpoint following user creation events
  3. Any unusual JavaScript execution or network requests originating from the application domain

Monitoring Recommendations

Enable detailed logging for all user management operations within Calibre-Web. Implement Content Security Policy (CSP) headers to mitigate the impact of successful XSS exploitation. Deploy browser-based XSS auditing tools and monitor for violations. Consider implementing real-time alerting for any database entries containing potentially malicious script content.

How to Mitigate CVE-2025-65858

Immediate Actions Required

  • Audit existing user accounts in Calibre-Web for suspicious or malicious content in username fields
  • Implement input validation to reject usernames containing HTML tags, script elements, or other potentially dangerous characters
  • Apply output encoding when rendering usernames in the /ajax/listusers endpoint and any other user-facing interfaces
  • Restrict administrative access to trusted personnel only until a patch is available
  • Deploy Content Security Policy (CSP) headers to reduce the impact of any successful XSS attacks

Patch Information

As of the publication date, users should check the official Calibre-Web repository for security updates addressing this vulnerability. Monitor the GitHub security advisory for additional details and remediation guidance.

Organizations should:

  1. Check for updated versions of Calibre-Web that address this vulnerability
  2. Review the project's changelog and security advisories regularly
  3. Subscribe to security mailing lists for timely notification of patches

Workarounds

Until an official patch is available, organizations can implement the following workarounds:

  1. Input Sanitization at Web Server Level: Configure your reverse proxy or web server to filter XSS patterns in incoming requests to user management endpoints.

  2. Content Security Policy: Implement strict CSP headers to prevent inline script execution:

Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'
  1. Database Cleanup: Manually review and sanitize existing usernames in the database to remove any injected payloads.

  2. Access Restriction: Limit administrative access to the minimum number of trusted users and implement network-level access controls to the admin interface.

  3. WAF Rules: Deploy web application firewall rules to detect and block common XSS payload patterns targeting the user creation functionality.

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCalibre

  • SeverityLOW

  • CVSS Score3.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Github
  • Related CVEs
  • CVE-2026-27810: Calibre-ebook Content Server XSS Flaw

  • CVE-2026-33205: Calibre E-Book Manager SSRF Vulnerability

  • CVE-2026-33206: Calibre E-book Path Traversal Vulnerability

  • CVE-2026-30853: Calibre-ebook Path Traversal Vulnerability
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