Description
CyberPanel versions prior to 2.4.5 contain a stored cross-site scripting vulnerability in the AI Scanner dashboard where the POST /api/ai-scanner/callback endpoint lacks authentication and allows unauthenticated attackers to inject malicious JavaScript by overwriting the findings_json field of ScanHistory records. Attackers can inject JavaScript that executes in an administrator's authenticated session when they visit the AI Scanner dashboard, allowing them to issue same-origin requests to plant cron jobs and achieve remote code execution on the server.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| usmannasir | cyberpanel | < 2.4.5 |
References
- https://github.com/usmannasir/cyberpanel/commit/8eb29181cb137baa4adb4bba5dce60f601d55a5f
- https://itsrez.re/post/cyberpanel-rceExploit, Mitigation, Third Party Advisory
- https://www.vulncheck.com/advisories/cyberpanel-stored-xss-via-ai-scanner-dashboardThird Party Advisory
Timeline
- Published
- Apr 24, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Modified