CVE-2026-28683: Gokapi: Stored XSS in SVG Hotlinks
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
Impact Authenticated attackers with the ability to upload and hotlink files can execute arbitrary JavaScript.
Other sources
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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-28683?
CVE-2026-28683 has a high severity level due to the potential for stored XSS attacks by authenticated users.
How do I fix CVE-2026-28683?
To fix CVE-2026-28683, upgrade to version 2.2.3 or later of the affected package from github.com/forceu/gokapi.
Who is affected by CVE-2026-28683?
CVE-2026-28683 affects authenticated users of the software that allows the uploading and hotlinking of SVG files without proper validation.
What kind of attack is possible with CVE-2026-28683?
CVE-2026-28683 allows authenticated users to execute stored cross-site scripting (XSS) attacks through malicious SVG uploads.
What is the primary consequence of CVE-2026-28683?
The primary consequence of CVE-2026-28683 is that it enables an attacker to execute arbitrary scripts in the context of legitimate users.