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.
Published: 2026-10-13
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Client‑side script execution (Stored XSS)
Action: Apply Fix
AI Analysis

Impact

The blob42 gosuki application stores user bookmarks and renders them in the web UI using Go’s text/template engine instead of the safer html/template engine. Because the URL and DisplayURL fields are not context‑aware escaped, attackers can embed malicious JavaScript inside a bookmark URL that causes arbitrary code to run in a victim’s browser when the bookmark list is rendered. This stored XSS flaw can lead to session hijacking, credential theft, or further exploitation within the victim’s environment. It is an example of an input validation and output encoding weakness.

Affected Systems

The vulnerability is present in the blob42 gosuki bookmark manager. No specific product versions are listed, and the flaw resides in the internal/webui/templates/bookmarks.html template used by the application.

Risk and Exploitability

The EPSS score is reported as less than 1%, indicating a low, though not zero, likelihood of public exploitation. The flaw is not listed in the CISA KEV catalog. An attacker must inject a malicious bookmark into the system; a user who subsequently visits the web UI will trigger the script. Because the attack requires a vulnerable instance and a victim who opens the page, the overall risk is moderate until a patch is applied. The vulnerability can be exploited directly through the application’s input for bookmarks, so it is an in‑application attack vector.

Generated by OpenCVE AI on October 17, 2026 at 07:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a version of blob42 gosuki that uses html/template for rendering bookmark URLs
  • If no patched release is available, modify the bookmarks.html template to escape the URL and DisplayURL fields manually or replace text/template with html/template
  • Sanitize or validate bookmark URL input to allow only safe schemes (e.g., http, https) and strip dangerous characters

Generated by OpenCVE AI on October 17, 2026 at 07:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 08:15:00 +0000

Type Values Removed Values Added
Title Stored Cross‑Site Scripting in Blob42 gosuki via Unescaped URL Field

Thu, 15 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
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.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-15T14:48:49.500Z

Reserved: 2026-10-02T00:00:00.000Z

Link: CVE-2026-104587

cve-icon Vulnrichment

Updated: 2026-10-15T14:48:04.907Z

cve-icon NVD

Status : Deferred

Published: 2026-10-13T21:17:25.703

Modified: 2026-10-16T19:56:15.773

Link: CVE-2026-104587

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T08:00:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')