CVE-2025-48494

Gokapi vulnerable to stored XSS via uploading file with malicious file name

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.

Category

4.8
CVSS
Severity: Medium
CVSS 4.0 •
EPSS 0.02%
Affected: Forceu Gokapi
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-48494?
CVE-2025-48494 has been scored as a medium severity vulnerability.
How to fix CVE-2025-48494?
To fix CVE-2025-48494, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-48494 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-48494 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-48494?
CVE-2025-48494 affects Forceu Gokapi.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.