CVE-2025-48494 Details
Description
Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. When using end-to-end encryption, a stored cross-site scripting vulnerability can be exploited by uploading a file with JavaScript code embedded in the filename. After upload and every time someone opens the upload list, the script is then parsed. Prior to version 2.0.0, there was no user permission system implemented, therefore all authenticated users were already able to see and modify all resources, even if end-to-end encrypted, as the encryption key had to be the same for all users using a version prior to 2.0.0. If a user is the only authenticated user using Gokapi, they are not affected. This issue has been fixed in v2.0.0. A possible workaround would be to disable end-to-end encryption.
A stored cross-site scripting vulnerability has been identified in Gokapi, a self-hosted file sharing server, in versions prior to 2.0.0. When end-to-end encryption is enabled, this vulnerability allows the execution of JavaScript by uploading a file with a maliciously crafted filename. The embedded script is executed after the file is uploaded, each time the upload list is accessed. In versions prior to 2.0.0, all authenticated users could view and modify all resources, including encrypted files, as the encryption key was shared among users. This vulnerability does not affect single-user Gokapi instances.
Users can upgrade to Gokapi version 2.0.0, which addresses this vulnerability. Instructions for upgrading are available in the Gokapi v2.0.0 release notes.
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.
CISA-ADP
Assessed Jun 2, 2025References 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-87 | Improper Neutralization of Alternate XSS Syntax | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| forceu gokapi | < 2.0.0 2.0.0 beta1 2.0.0 beta2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 9, 2026 | Modified Analysis | [email protected] |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Jun 2, 2025 | New CVE Received | [email protected] |