Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2026-104587

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-104587
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 22:56 UTC · Revision 1

Source evidence

CVE-2026-104587

core-osv · Original source

Published 13 Oct 2026, 00:00 UTC

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.

osv:CVE-2026-104587
Complete source record
{
  "id": "9abd807d4ad886a713e81cbf29807697457c73c216a4925d08a3930eab2e4755",
  "url": "https://osv.dev/vulnerability/CVE-2026-104587",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-104587",
    "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 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.",
    "evidence": "osv:CVE-2026-104587",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-104587",
      "aliases": [
        "CVE-2026-104587"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/blob42/gosuki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "6e2bf34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6e2bf34"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104587.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.040106987Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104587.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-104587",
        "https://github.com/AmalJafarzade/CVE-2026-104587",
        "https://github.com/blob42/gosuki"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104587.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-104587",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499194,
  "published_at": "2026-10-13T00:00:00+00:00"
}