Advisory

GHSA-3c22-5j5m-4jq7

Also known as: CVE-2026-28683, GO-2026-4612

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

High Basis: The source's own band: HIGH

Dates

Published
2026-03-05 18:40 UTC
Modified
2026-03-23 04:55 UTC

Affected packages and fixes

github.com/forceu/gokapi

Go · All systems

Affected

  • introduced 0, fixed 2.2.3 (semver)

Fixed versions

2.2.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences