CVE-2025-48495

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

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. By renaming the friendly name of an API key, an authenticated user could inject JS into the API key overview, which would also be executed when another user clicks on his API tab. 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 of versions 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 workaround would be to not open the API page if it is possible that another user might have injected code.

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

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