# CVE-2026-36725: FastapiAdmin stored XSS in system notice creation

Source: https://junglewise.ai/threats/cve-2026-36725-fastapiadmin-stored-xss-in-system-notice-creation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-09. Updated: 2026-06-09  
License: CC BY 4.0 with a link back

CVE-2026-36725 · Severity: info · Published 2026-06-09

FastapiAdmin, an administrative dashboard framework, contains a security flaw in its system notification feature. An attacker with access to create notices can embed malicious scripts into the notice content. When other users or administrators view these notices, the script executes in their browser, potentially allowing the attacker to steal login sessions or perform unauthorized actions.

Technologies: [FastAPI Admin](https://junglewise.ai/threats/technologies/fastapi-admin). Vendors: [FastAPI Admin](https://junglewise.ai/threats/vendors/fastapi-admin).

## Quick answers

**Is CVE-2026-36725 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-36725 being exploited in the wild.

**How severe is CVE-2026-36725?** Informational severity, published 9 June 2026.

**Which products and versions are affected?** FastAPI Admin <= 2.2.0.

**Is there a fix for CVE-2026-36725?** 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-36725 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-36725?** 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 the `/system/notice/create` (API endpoint `/api/v1/system/notice/create`) of FastapiAdmin versions up to and including 2.2.0. The root cause is a failure to sanitize the `notice_content` parameter before storing it in the database and subsequently rendering it in the frontend. The application uses `wangEditor` to display the content, which does not provide built-in XSS protection. An authenticated attacker can inject a crafted payload into the notice content; when a victim views the notice detail in the administrative interface, the payload executes in the context of their session. This can lead to session hijacking or unauthorized administrative actions. Mitigation requires implementing HTML sanitization (e.g., via DOMPurify) or switching to a secure markdown editor.

## Affected products

- FastapiAdmin FastapiAdmin <= 2.2.0

## Timeline

- 2026-06-09: disclosed: Initial disclosure and NVD publication

## References

- [https://github.com/CC-T-454455/Vulnerabilities/tree/master/fastapi-admin/vulnerability-6](https://github.com/CC-T-454455/Vulnerabilities/tree/master/fastapi-admin/vulnerability-6)

## Related threats

- [PYSEC-2026-1356 - FastAPI Admin cross-site scripting (XSS) vulnerability in the Create Product function](https://junglewise.ai/threats/cve-2024-42816-fastapi-admin-cross-site-scripting-in-product-creation)
- [FastapiAdmin stored XSS in AI assistant chat](https://junglewise.ai/threats/cve-2026-36728-fastapiadmin-stored-xss-in-ai-assistant-chat)
- [FastapiAdmin uncaught exception in job update endpoint](https://junglewise.ai/threats/cve-2026-36724-fastapiadmin-uncaught-exception-in-job-update-endpoint)
