Vulnerability · Published Apr 2, 2026 · Assigned by GitHub_M
CVE-2026-34725dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration
High 8.3
In plain English
A high-severity code injection in dbgate from dbgate. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | dbgate-web | 7.1.5 | GHSA-35xm-qvjg-8m42 |
Affected products (as reported)
Weakness: CWE-94, CWE-79 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/dbgate/dbgate/security/advisories/GHSA-35xm-qvjg-8m42 x_refsource_CONFIRM
- https://github.com/dbgate/dbgate/commit/a7d2ed11f3f3d4dfb5d2e4e5467dedafa5fa947e x_refsource_MISC
- https://github.com/dbgate/dbgate/releases/tag/v7.1.5 x_refsource_MISC