CVE-2026-104587: XSS
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of the local web interface are exposed when it renders a bookmark whose URL or DisplayURL contains a malicious payload. The payload executes in the browser context of the user viewing that bookmark.
What does an attacker need to exploit the vulnerability?
The attacker needs to craft a malicious bookmark URL containing HTML attribute-breaking content and have that bookmark rendered in the local web interface. No additional exploitation prerequisites are described.