A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-36728

CVE-2026-36728: FastapiAdmin XSS Vulnerability

CVE-2026-36728 is a markdown-based XSS flaw in FastapiAdmin v2.2.0's AI assistant chat that enables attackers to inject malicious scripts. This article covers technical details, affected versions, impact, and mitigation.

Published: June 11, 2026

CVE-2026-36728 Overview

CVE-2026-36728 is a markdown-based cross-site scripting (XSS) vulnerability in the AI assistant chat function of FastapiAdmin v2.2.0. Attackers can inject crafted markdown payloads into chat messages to execute arbitrary web scripts or HTML in the context of a victim's browser session. The flaw is classified under [CWE-79] (Improper Neutralization of Input During Web Page Generation).

Exploitation requires low-privileged authenticated access and user interaction with the malicious content. Because the scope changes when the payload renders, an attacker can impact resources beyond the initially vulnerable component, including the victim's authenticated session.

Critical Impact

Authenticated attackers can execute arbitrary JavaScript or HTML in other administrators' browsers through the AI assistant chat, enabling session theft, UI manipulation, and lateral actions within the admin panel.

Affected Products

  • FastapiAdmin v2.2.0
  • AI assistant chat component within FastapiAdmin v2
  • Deployments exposing the FastapiAdmin AI chat interface to multiple users

Discovery Timeline

  • 2026-06-09 - CVE-2026-36728 published to NVD
  • 2026-06-10 - Last updated in NVD database

Technical Details for CVE-2026-36728

Vulnerability Analysis

The vulnerability resides in the AI assistant chat function of FastapiAdmin v2.2.0. The chat interface accepts markdown-formatted input and renders it to other users without adequately neutralizing embedded HTML or script constructs. When a victim views the rendered chat message, the injected payload executes inside the FastapiAdmin web origin.

Because the AI assistant chat is part of an administrative interface, code execution occurs in a privileged browser context. An attacker can read or manipulate DOM elements, exfiltrate session tokens accessible to JavaScript, trigger authenticated API requests on behalf of the victim, and modify the rendered admin UI. The attack vector is network-based and requires user interaction with the malicious chat content.

The EPSS probability for in-the-wild exploitation is currently low, but the impact within multi-administrator FastapiAdmin deployments remains meaningful given the privileged context of victims.

Root Cause

The root cause is insufficient output encoding and sanitization in the markdown rendering pipeline used by the AI assistant chat. Markdown renderers commonly permit inline HTML by default. Without an allowlist-based sanitizer such as DOMPurify applied to the rendered output, attacker-controlled tags and event handlers reach the DOM intact.

Attack Vector

An authenticated attacker submits a chat message containing a crafted markdown payload that smuggles HTML, <script> tags, or event handlers (for example, onerror on an <img> element) into the assistant conversation. When another authenticated user opens the conversation, the application renders the markdown and the embedded JavaScript executes under the FastapiAdmin origin.

No synthetic exploit code is reproduced here. Technical details and proof-of-concept material are available in the GitHub Vulnerability Report.

Detection Methods for CVE-2026-36728

Indicators of Compromise

  • Chat messages stored in the FastapiAdmin AI assistant database containing <script>, javascript: URIs, or HTML event handler attributes such as onerror, onload, or onclick.
  • Outbound browser requests from administrator sessions to unfamiliar domains immediately after viewing AI assistant conversations.
  • Unexpected fetch or XHR calls to FastapiAdmin API endpoints originating from administrator browsers without corresponding UI actions.

Detection Strategies

  • Inspect persisted chat records for markdown content containing raw HTML tags, inline event handlers, or data: and javascript: URI schemes.
  • Enable Content Security Policy (CSP) violation reporting to capture inline script execution attempts in the FastapiAdmin UI.
  • Review web server and application logs for chat submissions with payload lengths or character sets atypical of normal assistant prompts.

Monitoring Recommendations

  • Monitor administrator account activity for actions performed shortly after AI assistant interactions, particularly privilege changes or data exports.
  • Alert on browser-originated requests to external hosts from authenticated admin sessions.
  • Track CSP report-uri or report-to endpoints for violations tied to the FastapiAdmin origin.

How to Mitigate CVE-2026-36728

Immediate Actions Required

  • Restrict access to the FastapiAdmin AI assistant chat to trusted users until a patched version is deployed.
  • Audit existing AI assistant chat histories for stored payloads and purge messages containing raw HTML or script content.
  • Rotate session tokens and administrator credentials if suspicious chat content is identified.

Patch Information

No vendor patch is referenced in the NVD record at the time of publication. Monitor the GitHub Vulnerability Report and the upstream FastapiAdmin project for a fixed release. Upgrade to the patched version as soon as it becomes available.

Workarounds

  • Disable the AI assistant chat feature in FastapiAdmin v2.2.0 until a fix is published.
  • Deploy a strict Content Security Policy that forbids inline scripts and restricts script sources to the application origin.
  • Place the FastapiAdmin interface behind a reverse proxy that strips dangerous HTML tags and attributes from chat message payloads.
  • Configure the markdown renderer to disable raw HTML passthrough and apply allowlist sanitization to rendered output before insertion into the DOM.
bash
# Example reverse proxy CSP header to limit XSS impact
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechFastapi

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Vulnerability Report
  • Related CVEs
  • CVE-2026-36725: FastapiAdmin XSS Vulnerability

  • CVE-2025-49126: Visionatrix XSS Vulnerability

  • CVE-2026-36724: FastapiAdmin DoS Vulnerability

  • CVE-2025-0182: Danswer AI Memory Exhaustion DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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