CVE-2026-104587 Cross-site scripting in n/a

Medium 5.4 Published Updated

Stored XSS in gosuki allows attackers to execute arbitrary JavaScript in victims' browsers via malicious bookmark URLs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-104587?

CVE-2026-104587 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

blob42 gosuki through commit 6e2bf34 contains a Stored Cross-Site Scripting (XSS) vulnerability. The application uses text/template instead of html/template, failing to perform context-aware auto-escaping on the URL and DisplayURL fields of bookmarks in internal/webui/templates/bookmarks.html. An attacker can craft a malicious bookmark URL containing HTML attribute-breaking payloads that execute arbitrary JavaScript in the victim's browser context when rendered in the local web interface.

Weakness: CWE-79

Which versions are affected by CVE-2026-104587?

How do I fix CVE-2026-104587?

No fix has been published for CVE-2026-104587 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-104587 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-104587 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-vfxj-r6f4-qcvw.

Is CVE-2026-104587 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free