Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-48495

published medium CVSS 4.0 · 4.8

Gokapi has stored XSS vulnerability in friendly name for API keys

Published
02 Jun 2025, 11:08:07 UTC
Updated
02 Jun 2025, 16:51:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Forceu — Gokapi< 2.0.0 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbaarch64 Advisory build 0.0.20250612T141001-1.1 OPENSUSE-SU-2025:15225-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbppc64le Advisory build 0.0.20250612T141001-1.1 OPENSUSE-SU-2025:15225-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbs390x Advisory build 0.0.20250612T141001-1.1 OPENSUSE-SU-2025:15225-1
SUSE / openSUSE openSUSE-Tumbleweed govulncheck-vulndbx86_64 Advisory build 0.0.20250612T141001-1.1 OPENSUSE-SU-2025:15225-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
4.8 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Forceu Gokapi < 2.0.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)
  • CWE-87 CWE-87: Improper Neutralization of Alternate XSS Syntax (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Gokapi has stored XSS vulnerability in friendly name for API keys

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
0624d9c8b7614a46239dbc36fa7423895d430a1dae8f783909ccd090277e0dd3
Ingested
23 Sep 2026, 08:50:38 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected