CVE-2026-28683 Gokapi: Stored XSS in SVG Hotlinks

High 8.7 Published Updated

A malicious authenticated user can achieve stored XSS by uploading an SVG file and creating a hotlink, potentially compromising other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-28683?

CVE-2026-28683 is a high-severity cross-site scripting vulnerability in Forceu Gokapi, published on 6 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, if a malicious authenticated user uploads SVG and creates a hotlink for it, they can achieve stored XSS. This issue has been patched in version 2.2.3.

Weakness: CWE-79

Which versions are affected by CVE-2026-28683?

3 open source packages ship an affected version, including github.com/forceu/gokapi. It affects 1 product.

PackageAffectedFixed in
github.com/forceu/gokapi GoAll versionsNone
github.com/forceu/gokapi GoAll versions2.2.3
github.com/forceu/gokapi GoAll versions2.2.3

Products include Forceu Gokapi.

How do I fix CVE-2026-28683?

Upgrade github.com/forceu/gokapi to 2.2.3 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-28683 being exploited?

There is no known exploitation of CVE-2026-28683 in the wild and no public exploit code.

Sources

Also known as GHSA-3c22-5j5m-4jq7, GO-2026-4612.

Is CVE-2026-28683 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free