{"id":"CVE-2026-54165","summary":"Stored DOM-XSS in public shared-folder image gallery (one-click, unauthenticated victim)","details":"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.","aliases":["GHSA-m95v-4xq6-grhg"],"modified":"2026-09-13T03:30:35.681037200Z","published":"2026-09-11T20:58:30.195Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54165.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54165.json"},{"type":"ADVISORY","url":"https://github.com/smgdkngt/dobase/security/advisories/GHSA-m95v-4xq6-grhg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54165"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/smgdkngt/dobase","events":[{"introduced":"0"},{"fixed":"52dd18d55b167cc831b1091ea69dfb6bff85a06c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2026.06.03"}],"source":"AFFECTED_FIELD"}}],"versions":["2026.05.29","2026.05.28.1","2026.05.28","2026.05.26","2026.04.24.2","2026.04.24.1","2026.04.24","2026.04.21","2026.04.15","2026.04.14","2026.04.07","2026.03.25","2026.03.24","2026.03.23","2026.03.20","2026.03.19","2026.03.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54165.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}