
Documentation of CVE-2025-65790: Reflected XSS vulnerability in FuguHub 8.1 via unsanitized SVG rendering in the file manager interface, with PoC and mitigation recommendations.
https://www.cve.org/CVERecord?id=CVE-2025-65790
This repository documents a Reflected Cross-Site Scripting (XSS) vulnerability in FuguHub 8.1, where SVG files containing inline JavaScript are executed when viewed through the internal file manager /fs/ interface.
CVE Assigned: CVE-2025-65790
Discovered by: Han Tek Foo
Severity: High
Impact: Arbitrary JavaScript Execution
FuguHub is a cloud-based media server developed by Real Time Logic / Sesamt Data AB. During testing of a default installation, a reflected cross-site scripting (XSS) vulnerability was identified in the handling of SVG files served through FuguHub’s built-in file manager. Malicious JavaScript embedded inside an SVG file is executed automatically when the file is opened via the /fs/ interface. This allows remote attackers to execute arbitrary JavaScript in the victim’s browser.
Operating System: Debian Linux (fresh installation)
FuguHub Version: Latest download as of 2025-11-12
URL tested:
FuguHub does not display an explicit version number in the UI. Testing was performed on a clean installation directly from the official download page.
First, download and run the latest version of FuguHub:
wget https://fuguhub.com/install/FuguHub.linux.install
chmod +x FuguHub.linux.install
sudo ./FuguHub.linux.install




Below is the xss.svg code I used in the PoC:
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 124 124" fill="none">
<rect width="124" height="124" rx="24" fill="#000000"/>
<script type="text/javascript">
alert(document.domain);
</script>
</svg>
FuguHub serves SVG files directly without sanitization or script filtering. Browsers treat SVG as active XML content and execute inline <script> elements, resulting in reflected XSS.
Attacker-controlled JavaScript execution may lead to:
<script> tags & event attributes from SVG files/fs/This issue was assigned CVE-2025-65790 by MITRE.
To transition CVE status from RESERVED → PUBLIC, this repository is submitted to MITRE as a public reference URL.
Discovered by:
Han Tek Foo