Loading advisory.
Loading advisory.
Gokapi vulnerable to stored XSS via uploading file with malicious file name
When using end-to-end encryption, a stored XSS vulnerability can be exploited by uploading a file with JavaScript code embedded in the filename. After upload and every time someone opens the upload list, the script is then parsed.
Published 2025-06-02 11:03 UTC · Modified 2025-08-26 20:09 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/forceu/gokapi | Go | >= 1.0.1, <= 1.9.6 < 0.0.0-20250530191232-343cc566cfd7 all versions | 0.0.0-20250530191232-343cc566cfd7 | go get github.com/forceu/gokapi@v0.0.0-20250530191232-343cc566cfd7 |
When using end-to-end encryption, a stored XSS vulnerability can be exploited by uploading a file with JavaScript code embedded in the filename. After upload and every time someone opens the upload list, the script is then parsed.
With the affected versions <v2.0, there was no user permission system implemented, therefore all authenticated users were already able to see and modify all resources, even if end-to-end encrypted, as the encryption key had to be the same for all users with <v2.0. Nethertheless with XSS, other attack vectors like redirection or crypto mining would be possble.
This CVE has been fixed in v2.0.0
If you are the only authenticated user using Gokapi, you are not affected. A workaround would be to disable end-to-end encryption.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.003 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.002 | v2026.06.15 |