cve.bz

CVE-2025-48494

4.8 mediumEPSS 0.2%

Medium (4.8) in forceu gokapi. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in github.com/forceu/gokapi 0.0.0-20250530191232-343cc566cfd7.

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.

Severity

CVSS 4.0

4.8 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 7% of CVEs (scores of 2026-10-31)
CWEs
CWE-79, CWE-87
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-95rc-wc32-gm53Gogithub.com/forceu/gokapi>=1.0.1 <=1.9.6no fix published
GHSA-95rc-wc32-gm53Gogithub.com/forceu/gokapi<0.0.0-20250530191232-343cc566cfd70.0.0-20250530191232-343cc566cfd7
GO-2025-3737Gogithub.com/forceu/gokapiall versionsno fix published

References

Check your stackJSON