Dbgate
dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration
DbGate is cross-platform database manager. From version 7.0.0 to before version 7.1.5, a stored XSS vulnerability exists in DbGate because attacker-controlled SVG icon strings are rendered as raw HTML without sanitization. In the web UI this allows script execution in another user's browser; in the Electron desktop app this can escalate to local code execution because Electron is configured with nodeIntegration: true and contextIsolation: false. This issue has been patched in version 7.1.5.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.3high · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
dbgate dbgate
- >= 7.0.0, < 7.1.5
Fixed in 7.1.5
Mitigation
Upgrade dbgate to 7.1.5 or later.
References
- Vendor advisory github.com/dbgate/dbgate/security/advisories/G…
- Patch github.com/dbgate/dbgate/commit/a7d2ed11f3f3d4…
- Release notes github.com/dbgate/dbgate/releases/tag/v7.1.5
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.