
Identified a Stored Cross-Site Scripting (XSS) vulnerability in CKFinder v1.4.3 via malicious SVG file upload leading to script execution upon file preview.
CVE ID: CVE-2025-63830
A stored Cross-Site Scripting (XSS) vulnerability was identified in CKFinder v1.4.3.
The issue resides in the file upload functionality, which fails to properly sanitize SVG files containing active content.
As a result, an attacker can execute arbitrary JavaScript code in the context of the victim’s browser when the uploaded file is viewed or previewed.
CKFinder v1.4.3 is vulnerable to Stored Cross-Site Scripting (XSS) in its File Upload functionality.
Uploading a crafted SVG file containing JavaScript code results in persistent script execution when the file is later accessed or previewed in the application.
This occurs because the SVG file is stored and served as-is, allowing embedded tags, event handlers (e.g., , ), or elements to execute in the application's origin context.
<script>onloadonclick<foreignObject>Content-Type: image/svg+xml; charset=UTF-8
Content-Disposition: attachment
X-Content-Type-Options: nosniff
Shubham Ghadge
Security Researcher / Application Security Consultant