Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Despite the low CVSS score of 3.5, this vulnerability carries moderate real-world risk. The CVSS vector shows AV:N (network-accessible) and AC:L (low attack complexity), but requires PR:L (authenticated attacker) and UI:R (user interaction), which meaningfully restricts the attack surface to authenticated users who can modify form configuration. The presence of publicly available exploit code (E:P per CVSS vector) elevates practical risk. The RC:R (report confidence: reasonable) and lack of vendor response suggest the flaw is well-understood and reproducible. From an SSVC perspective: exploitation is probable (POC exists), automatable (XSS is trivially exploitable once payload is injected), and technical impact is moderate (session hijacking, credential theft). However, the authentication requirement and user-interaction dependency prevent this from being a critical remote-takeover vector. Real-world priority depends on whether Casdoor instances allow untrusted users to modify form configurations; if forms are admin-only, risk is lower; if self-service form builders expose this to end-users, risk is higher. |
| Exploit ScenarioDerived | An authenticated user with form-builder permissions in Casdoor crafts a malicious CSS payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
Stored cross-site scripting (XSS) in Casdoor 2.356.0 via the dangerouslySetInnerHTML function allows authenticated remote attackers to inject malicious scripts through the formCss, formCssMobile, or formSideHtml parameters. An attacker with authenticated access can craft payloads that execute arbitrary JavaScript in the context of other users' browsers when they view affected forms. Publicly available exploit code exists for this vulnerability, and the vendor has not responded to early disclosure attempts, indicating no coordinated patch timeline.
RemediationAI
No vendor-released patch identified at time of analysis. The vendor did not respond to early disclosure attempts. Users should immediately audit form configuration permissions and restrict access to formCss, formCssMobile, and formSideHtml parameters to trusted administrators only. As a temporary mitigation, implement Content Security Policy (CSP) headers to restrict inline script execution and disable script-src for user-controlled content. Input validation should be enforced server-side to reject or sanitize any CSS or HTML containing script tags, event handlers (onclick, onload, etc.), or suspicious Unicode/encoding patterns. Monitor Casdoor's GitHub repository and security advisories for any future patch releases. Consider migrating to alternative form builders if Casdoor does not address this vulnerability within your organization's acceptable timeframe.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from unsafe use of the dangerouslySetInnerHTML React function without proper input sanitization on user-controlled CSS and HTML parameters. The CWE-79 classification confirms this is a cross-site scripting flaw where untrusted user input is rendered directly as HTML/CSS without encoding or validation. The affected parameters (formCss, formCssMobile, formSideHtml) are form configuration fields that accept styling or markup, but the application fails to sanitize these inputs before passing them to dangerouslySetInnerHTML, allowing style-based or script-based XSS payloads to execute. This is particularly dangerous in authentication/form contexts where user sessions may be hijacked or credentials stolen.
Know when Casdoor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in Casdoor 2.356.0. This affects the function dangerouslySetInnerHTML. Performing a manipulation of the argument formCss/formCssMobile/formSideHtml results in cross site scripting. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.
Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS
Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or
Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi
Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic
Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc
SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arb
EUVD-2026-18655
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB