SCA: security update for github.com/forceu/gokapi (GHSA-4xg4-54hm-9j77)

medium Tenable Self-Hosted Container Security Plugin ID 435126

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-48495)

See Also

https://github.com/advisories/GHSA-4xg4-54hm-9j77

Plugin Details

Severity: Medium

ID: 435126

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 8/27/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.07

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2025-48495

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 4.8

Threat Score: 1.1

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/3/2025

Vulnerability Publication Date: 6/2/2025

Reference Information

CVE: CVE-2025-48495