---
id: CVE-2026-104587
title: >-
  blob42 gosuki through commit 6e2bf34 contains a Stored Cross-Site Scripting
  (XSS) vulnerability
summary: >-
  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…
severity: none
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T21:17:25.703'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104587'
references:
  - url: 'https://github.com/AmalJafarzade/CVE-2026-104587'
    label: cve@mitre.org
  - url: 'https://github.com/blob42/gosuki'
    label: cve@mitre.org
tags:
  - nvd
  - exploit-available
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/AmalJafarzade/CVE-2026-104587'
  checkedAt: '2026-10-13T21:58:49.757Z'
exploitAvailable: true
ingestedAt: '2026-10-13T21:58:14.168Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
