GHSA-3C22-5J5M-4JQ7
Vulnerability from github – Published: 2026-03-05 18:40 – Updated: 2026-03-06 15:17
VLAI?
Summary
Gokapi has Stored XSS in SVG Hotlinks
Details
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.
Severity ?
8.7 (High)
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/forceu/gokapi"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-28683"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-05T18:40:05Z",
"nvd_published_at": "2026-03-06T05:16:38Z",
"severity": "HIGH"
},
"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.",
"id": "GHSA-3c22-5j5m-4jq7",
"modified": "2026-03-06T15:17:00Z",
"published": "2026-03-05T18:40:05Z",
"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"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "Gokapi has Stored XSS in SVG Hotlinks"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…