CVE-2025-48494

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-48494
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48494.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-48494
Aliases
Published
2025-06-02T11:15:22Z
Modified
2025-06-03T18:44:20.957836Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/forceu/gokapi

Affected ranges

Type
GIT
Repo
https://github.com/forceu/gokapi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0
v1.0.1
v1.1.0
v1.1.2
v1.1.3
v1.2.0
v1.3.0
v1.3.1
v1.5.0
v1.5.0-beta1
v1.5.1
v1.5.2
v1.6.0
v1.6.0-beta1
v1.6.1
v1.6.2
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.0-beta.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.9.0
v1.9.1
v1.9.2
v1.9.3
v1.9.4
v1.9.5
v1.9.6

v2.*

v2.0.0-beta1
v2.0.0-beta2