CVE-2026-36728: FastapiAdmin stored XSS in AI assistant chat

CVE-2026-36728 · Severity: info · CVSS 0 · Published 2026-06-09

FastapiAdmin is an administrative dashboard framework. A security flaw in its AI assistant chat feature allows attackers to send messages containing malicious code. If another user or administrator views these messages, the code can execute in their browser, potentially allowing the attacker to steal login sessions or perform unauthorized actions.

Technologies: FastAPI Admin. Vendors: FastAPI Admin.

Quick answers

Is CVE-2026-36728 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-36728 being exploited in the wild.
How severe is CVE-2026-36728?
Informational severity, with a CVSS score of 0, published 9 June 2026.
Which products and versions are affected?
FastAPI Admin <= 2.2.0.
Is there a fix for CVE-2026-36728?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-36728 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-36728?
Check whether you run FastAPI Admin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in FastapiAdmin versions up to and including 2.2.0. The vulnerability is located in the AI assistant chat functionality, specifically within the MessageItem.vue and MarkdownRenderer components. User-supplied chat content is processed using the 'markdown-it' library and rendered via the 'v-html' directive without proper sanitization. An authenticated attacker can inject malicious HTML or JavaScript payloads into chat messages. When these messages are viewed by other users or administrators in the chat interface or message management console, the payload executes in the context of the victim's browser session. Recommended fixes include integrating a sanitization library like DOMPurify.

Affected products

  • FastapiAdmin FastapiAdmin <= 2.2.0

Timeline

  • 2026-06-09: disclosed: Vulnerability details published on GitHub and NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.