
Proof-of-concept and advisory for CVE-2026-104587, a DOM-based stored XSS in the gosuki bookmark sync daemon caused by unescaped text/template rendering of bookmark URLs.
gosuki (Go-based browser bookmark sync daemon) renders synced bookmarks in its local web UI using Go's text/template package instead of html/template, failing to perform context-aware auto-escaping on the URL and DisplayURL fields. An attacker can craft a malicious bookmark URL containing attribute-breaking payloads that execute arbitrary JavaScript when rendered.
https://example.com/" onmouseover="alert(1)" x="
When hovered over in the local web interface (http://127.0.0.1:2025/), the injected event handler executes immediately within the local origin.