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

- Severity: Medium 6.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-09-11T20:58:30.195Z
- Modified: 2026-09-30T19:57:08.043Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- smgdkngt dobase: < 2026.06.03

## References

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

## Sources

- CVE List: [CVE-2026-54165](https://www.cve.org/CVERecord?id=CVE-2026-54165), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-54165](https://nvd.nist.gov/vuln/detail/CVE-2026-54165), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54165 · Whole record: https://cve.day/CVE-2026-54165.json · Rebuilt by cve.day 2026-11-25T22:59:38.149Z
