---
id: CVE-2026-54165
title: 'Dobase is an open-source, self-hosted workspace with installable tools'
summary: >-
  Dobase is an open-source, self-hosted workspace with installable tools.
  Versions prior to 2026.06.03 have a one-click stored DOM-based cross-site
  scripting (XSS) vulnerability in the public, unauthenticated shared-folder
  image gallery. A…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N'
cwe:
  - CWE-79
vendor: smgdkngt
product: dobase
affected:
  - dobase < 2026.06.03
published: '2026-09-11'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T19:17:28.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54165'
references:
  - url: 'https://github.com/smgdkngt/dobase/security/advisories/GHSA-m95v-4xq6-grhg'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00549
epssPercentile: 0.43551
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-14T18:41:20.918521Z'
cvssSource: cna
ingestedAt: '2026-09-14T11:11:19.878Z'
---

## Overview

Dobase is an open-source, self-hosted workspace with installable tools. Versions prior to 2026.06.03 have a one-click stored DOM-based cross-site scripting (XSS) vulnerability in the public, unauthenticated shared-folder image gallery. A file's `name` is fully attacker-controlled and is never sanitized. It is round-tripped through an ERB-escaped `data-name` attribute, decoded back to its raw value by `el.dataset.name`, and then re-injected into `innerHTML` by the `public-gallery` Stimulus controller with no escaping. Any authenticated workspace member who can share a Files folder can store a payload; the victim is anyone with the public share link (no authentication required). The global Content-Security-Policy is sent report-only (not enforcing), so an inline `onerror` handler executes — this is an executing XSS, not a CSP-mitigated injection. Version 2026.06.03 fixes the issue.

## Remediation

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