CVE-2026-54165

Stored DOM-XSS in public shared-folder image gallery (one-click, unauthenticated victim)

Published Sep 11, 2026 CVSS 4.0 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A file’s name can contain arbitrary characters a data‑name attribute, retrieved by JavaScript, and inserted into the page’s innerHTML, enabling the execution of attacker‑supplied code in the context of the gallery page. The flaw allows an attacker to run gallery link, potentially leaking data or performing malicious actions within the user’s browser session.

Affected Systems

Vendor smgdkngt’s open‑source Dobase workspace. All releases before Any user who can upload files to a shared folder and share that folder publicly exposes unauthenticated visitors to the XSS attack. The flaw requires that the attacker be an authenticated workspace member who knows the shared folder name.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score is under 1 %, showing a very vulnerability is not listed in the CISA KEV catalog. Exploitation is straightforward: an authenticated member uploads a file with a malicious name into a shared folder, shares the folder publicly, and share link. Because no authentication is required for the victim, the impact can reach any user who follows the public URL.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Dobase 2026.06.03 or later, which removes the unsanitized handling of file names.
  • On the server side, validate and sanitize all file names before storing or rendering them in the gallery.
  • Apply a strict Content‑Security‑Policy that disallows inline scripts (e.g., remove `unsafe-inline` or use nonce values) to block the execution of injected scripts even if the flaw persists.

Generated by OpenCVE AI on September 15, 2026 at 19:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Smgdkngt
Smgdkngt dobase
Vendors & Products Smgdkngt
Smgdkngt dobase
Type Values Removed Values Added
Description 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.
Title Stored DOM-XSS in public shared-folder image gallery (one-click, unauthenticated victim)
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.4, 'vector': '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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 6:43 PM
Reserved
Jun 11, 2026, 9:46 PM
Status
Deferred
Published
Sep 11, 2026, 9:17 PM
Modified
Sep 30, 2026, 7:57 PM