{"id":"GHSA-3c22-5j5m-4jq7","summary":"Gokapi has Stored XSS in SVG Hotlinks","details":"### Summary\nIf a malicious authenticated user uploads SVG and creates a hotlink for it, they achieve stored XSS.\n\n### Details\nThe 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.\n\n*Issue found by [aisafe.io](https://aisafe.io/)*\n\n\n### Impact\nAuthenticated attackers with the ability to upload and hotlink files can execute arbitrary JavaScript.","aliases":["CVE-2026-28683","GO-2026-4612"],"modified":"2026-03-12T02:29:15.268685Z","published":"2026-03-05T18:40:05Z","database_specific":{"github_reviewed_at":"2026-03-05T18:40:05Z","nvd_published_at":"2026-03-06T05:16:38Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-3c22-5j5m-4jq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28683"},{"type":"PACKAGE","url":"https://github.com/Forceu/Gokapi"},{"type":"WEB","url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.3"}],"affected":[{"package":{"name":"github.com/forceu/gokapi","ecosystem":"Go","purl":"pkg:golang/github.com/forceu/gokapi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-3c22-5j5m-4jq7/GHSA-3c22-5j5m-4jq7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}