CVE-2025-48495

Gokapi has stored XSS vulnerability in friendly name for API keys

Description

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.

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-48495?
CVE-2025-48495 has been scored as a medium severity vulnerability.
How to fix CVE-2025-48495?
To fix CVE-2025-48495, 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-48495 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-48495 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-48495?
CVE-2025-48495 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.