CVE-2026-36725 Details
Description
A markdown based cross-site scripting (XSS) vulnerability in the /system/notice/create endpoint of FastapiAdmin v2.2.0 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the notice_content parameter.
A Cross-Site Scripting (XSS) vulnerability has been identified in FastapiAdmin versions through 2.2.0. The issue arises in the system notice functionality, specifically within the '/api/v1/system/notice/create' endpoint. This endpoint allows authenticated users to submit notices via the 'notice_content' parameter without proper sanitization or validation. The injected content is stored in the database and later rendered on the frontend using WangEditor, which lacks built-in XSS protection. Consequently, this vulnerability enables the injection of arbitrary JavaScript that could execute in the browsers of users viewing the notice, potentially leading to session hijacking or credential theft.
Users are advised to update FastapiAdmin to a version later than 2.2.0. Additionally, implement HTML sanitization before rendering with WangEditor, consider using a markdown editor with built-in XSS protection, and apply Content Security Policy headers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2026CISA-ADP
Assessed Jun 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/CC-T-454455/Vulnerabilities/tree/master/fastapi-admin/vulnerability-6 | CISA-ADP | ExploitTechnical Analysis |
| https://github.com/CC-T-454455/Vulnerabilities/tree/master/fastapi-admin/vulnerability-6 | [email protected] | ExploitTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| FastapiAdmin | <= 2.2.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2026 | New CVE Received | [email protected] |
Volerion