Loading...
Skip to main content

CVE-2026-28683 — Gokapi has Stored XSS in github.com/forceu/gokapi...

HIGH

Gokapi has Stored XSS in SVG Hotlinks

Published March 5, 2026Updated March 23, 2026Source: osv

Summary

### Summary If a malicious authenticated user uploads SVG and creates a hotlink for it, they achieve stored XSS. ### Details The hotlinking functionality fails to properly handle scripts included in the SVGs, allowing authenticated attackers with the ability to upload and hotlink file to execute arbitrary JS. *Issue found by [aisafe.io](https://aisafe.io/)* ### Impact Authenticated attackers with the ability to upload and hotlink files can execute arbitrary JavaScript.

Advisory Timeline

  • First published March 5, 2026 (221 days ago).
  • Last revised March 23, 2026 — 17 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/forceu/gokapi to 2.2.3 or later
go get github.com/forceu/gokapi@v2.2.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/forceu/gokapi
go
All versions2.2.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-28683?
Gokapi has Stored XSS in SVG Hotlinks This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2026-28683?
CVE-2026-28683 affects github.com/forceu/gokapi. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-28683 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-3c22-5j5m-4jq7
GO-2026-4612

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies