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
    • 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-2025-15632

CVE-2025-15632: 1Panel-dev MaxKB XSS Vulnerability

CVE-2025-15632 is a cross-site scripting flaw in 1Panel-dev MaxKB affecting versions up to 2.4.2 through the MdPreview component. This post covers technical details, affected versions, and mitigation steps.

Published: April 17, 2026

CVE-2025-15632 Overview

A Cross-Site Scripting (XSS) vulnerability has been identified in 1Panel-dev MaxKB, an open-source knowledge base management platform. The vulnerability exists in the MdPreview component within the file ui/src/chat.ts, where insufficient input sanitization allows attackers to inject malicious scripts through specially crafted markdown content. This flaw can be exploited remotely to execute arbitrary JavaScript code in the context of a victim's browser session.

Critical Impact

Remote attackers can exploit this XSS vulnerability to execute malicious scripts in users' browsers, potentially leading to session hijacking, credential theft, or further compromise of the affected system.

Affected Products

  • 1Panel-dev MaxKB versions up to and including 2.4.2
  • MaxKB MdPreview component (ui/src/chat.ts)
  • MaxKB Markdown editor functionality

Discovery Timeline

  • April 13, 2026 - CVE-2025-15632 published to NVD
  • April 13, 2026 - Last updated in NVD database

Technical Details for CVE-2025-15632

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw resides in the MdPreview component of the MaxKB application, specifically within the ui/src/chat.ts file. The vulnerable component processes user-supplied markdown content without adequate XSS protection, allowing attackers to inject and execute malicious JavaScript code within the browser context of other users viewing the rendered markdown content.

The vulnerability requires low privileges to exploit and depends on user interaction, meaning a victim must view the malicious content for the attack to succeed. Successful exploitation can compromise the integrity of user sessions and enable attackers to perform actions on behalf of authenticated users.

Root Cause

The root cause of this vulnerability is the absence of proper XSS sanitization when rendering markdown content in the MdPreview component. The original implementation of the md-editor-v3 library configuration did not include the XSS plugin with appropriate whitelist filtering. Without the XSS plugin and a properly configured whitelist, user-controlled markdown input could include malicious HTML or JavaScript that would be rendered and executed in the browser.

Attack Vector

The attack is network-based and can be executed remotely. An attacker with low-level privileges (such as a registered user) can inject malicious script content into markdown fields processed by the MdPreview component. When another user views this content through the chat interface, the malicious script executes in their browser session. This can lead to:

  • Session token theft via cookie exfiltration
  • Phishing attacks through DOM manipulation
  • Keylogging and credential capture
  • Unauthorized actions performed on behalf of the victim

The following patch demonstrates how the vulnerability was addressed by adding XSS protection:

typescript
 import Components from '@/components'
 import directives from '@/directives'
 
-import { config } from 'md-editor-v3'
+import { getDefaultWhiteList } from 'xss'
+import { config, XSSPlugin } from 'md-editor-v3'
 import screenfull from 'screenfull'
 
 import katex from 'katex'

Source: GitHub Commit Details

Detection Methods for CVE-2025-15632

Indicators of Compromise

  • Unusual JavaScript execution patterns in browser developer console logs when viewing MaxKB chat content
  • Unexpected outbound network requests to external domains from the MaxKB application
  • User reports of suspicious behavior or unauthorized actions after viewing chat messages
  • Modified or injected content in markdown preview areas containing script tags or event handlers

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Monitor web application firewall (WAF) logs for XSS payload patterns targeting the MaxKB chat endpoint
  • Review application logs for requests containing suspicious characters commonly used in XSS attacks (e.g., <script>, onerror=, javascript:)
  • Conduct regular security scans of user-generated markdown content for malicious payloads

Monitoring Recommendations

  • Enable browser-side XSS auditor logging where available to capture blocked injection attempts
  • Set up alerts for CSP violation reports indicating attempted script injections
  • Monitor user session activity for anomalous behavior that may indicate compromised sessions
  • Implement real-time scanning of markdown content submissions for XSS patterns

How to Mitigate CVE-2025-15632

Immediate Actions Required

  • Upgrade MaxKB to version 2.5.0 or later immediately
  • Review recent chat messages and markdown content for potentially malicious payloads
  • Consider temporarily restricting markdown rendering functionality if immediate upgrade is not possible
  • Notify users to clear their browser sessions and re-authenticate after patching

Patch Information

The vulnerability has been addressed in MaxKB version 2.5.0. The fix implements the XSS plugin from md-editor-v3 along with a proper whitelist configuration using getDefaultWhiteList from the xss library. The security patch is identified by commit hash 7230daa5ec3e6574b6ede83dd48a4fbc0e70b8d8. For detailed patch information, refer to the GitHub Pull Request and GitHub Release v2.5.0.

Workarounds

  • Implement a web application firewall (WAF) rule to filter common XSS payloads targeting the chat endpoint
  • Add Content Security Policy headers to restrict inline script execution: script-src 'self'
  • Temporarily disable the markdown preview feature until the patch can be applied
  • Restrict access to the chat functionality to trusted users only
bash
# Example nginx configuration for CSP headers as a temporary mitigation
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline';" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/Tech1panel Dev

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Project Repository

  • GitHub Commit Details

  • GitHub Pull Request

  • GitHub Release v2.5.0

  • GitHub Issue #28

  • VulDB Submission #782265

  • VulDB Vulnerability #356967

  • VulDB CTI for #356967
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer 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