{"id":"CVE-2026-28683","aliases":["CVE-2026-28683","GHSA-3c22-5j5m-4jq7","GO-2026-4612"],"related":[],"kind":"vulnerability","state":"published","title":"Gokapi: Stored XSS in SVG Hotlinks","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Gokapi has Stored XSS in SVG Hotlinks in github.com/forceu/gokapi.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/forceu/gokapi before v2.2.3.","format":"markdown","source":"go"},{"lang":"es","text":"Gokapi es un servidor de intercambio de archivos autoalojado con expiración automática y soporte de cifrado. Antes de la versión 2.2.3, si un usuario autenticado malicioso sube un SVG y crea un enlace directo para él, puede lograr XSS almacenado. Este problema ha sido parcheado en la versión 2.2.3.","source":"nvd"}],"published":"2026-03-05T18:40:05.000Z","modified":"2026-06-17T10:28:54.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.2.3","status":"affected"}],"vendor":"Forceu","product":"Gokapi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.3"}],"ecosystem":"Go","package":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/forceu/gokapi","purl":"pkg:golang/github.com/forceu/gokapi","source":"go"},{"ranges":[{"status":"affected","fixed":"2.2.3"}],"vendor":"forceu","product":"gokapi","cpe":"cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Forceu/Gokapi/security/advisories/GHSA-3c22-5j5m-4jq7","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Forceu/Gokapi/releases/tag/v2.2.3","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28683","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/Forceu/Gokapi","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-06T15:58:13.384Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28683","url":"https://www.cve.org/CVERecord?id=CVE-2026-28683","licence":"CVE Terms of Use","modified":"2026-03-06T16:06:43.449Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3c22-5j5m-4jq7","url":"https://github.com/advisories/GHSA-3c22-5j5m-4jq7","licence":"CC-BY-4.0","modified":"2026-03-23T04:55:59.179Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4612","url":"https://pkg.go.dev/vuln/GO-2026-4612","licence":"CC-BY-4.0","modified":"2026-03-23T04:53:15.947Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28683","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28683","licence":"Public domain","modified":"2026-06-17T10:28:54.137Z"}],"updatedAt":"2026-11-25T22:59:15.385Z","epss":{"score":0.00202,"percentile":0.10723,"date":"2026-12-01T12:00:22.000Z"}}