NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

highCVSS 3.1 8.7GHSA-3c22-5j5m-4jq7

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.

Published Mar 5, 2026 · Updated Mar 8, 2026

Affected packages

github.com/forceu/gokapi

Ecosystem
Go
Affected
< 2.2.3
Fixed in
2.2.3
Check
go list -m github.com/forceu/gokapi

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Sijisu, aisafe-bot, Forceu.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries