CVE-2025-48495
CVE-2025-48495 is a medium-severity vulnerability in Forceu Gokapi with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- CVSS v4: 4.8
- EPSS exploit prediction: 0% (2nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-16636
- Weakness: CWE-79
- Affected product: Forceu Gokapi
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-48495?
- 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.
- How severe is CVE-2025-48495?
- CVE-2025-48495 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-48495 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (2nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-48495?
- CVE-2025-48495 primarily affects Forceu Gokapi. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-48495?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-48495 have an EU (EUVD) identifier?
- Yes. CVE-2025-48495 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16636.
- When was CVE-2025-48495 published?
- CVE-2025-48495 was published on 2025-06-02 and last updated on 2026-06-17.
References
- https://github.com/Forceu/Gokapi/commit/65ddbc68fbfdf1c80cadb477f4bcbb7f2c4fdbf8
- https://github.com/Forceu/Gokapi/security/advisories/GHSA-4xg4-54hm-9j77
Affected products (3)
- cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*
- cpe:2.3:a:forceu:gokapi:2.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:forceu:gokapi:2.0.0:beta2:*:*:*:*:*:*
More vulnerabilities in Forceu Gokapi
- CVE-2026-28683 — High (CVSS 8.7): Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3,…
- CVE-2026-30955 — Medium (CVSS 6.5): Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to 2.2.4, An API…
- CVE-2026-28682 — Medium (CVSS 6.4): Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3,…
- CVE-2026-29061 — Medium (CVSS 5.4): Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, a…
- CVE-2025-48494 — Medium (CVSS 5.4): Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. When using end-to-end…
- CVE-2026-29060 — Medium (CVSS 5.0): Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, a…
All CVEs affecting Forceu Gokapi →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →