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

Published Mar 5, 2026
·
Updated

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

2 affected componentsFixes available
go/github.com/forceu/gokapi<2.2.3
2.2.3
Forceu Gokapi<2.2.3

Event History

Mar 5, 2026
Advisory Published
via GitHub·06:40 PM
Data Sourced
via GitHub·06:40 PM
DescriptionSeverityWeaknessAffected Software
Mar 6, 2026
CVE Published
via MITRE·04:44 AM
Data Sourced
via MITRE·04:44 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203