CVE-2026-34725

dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration

Published Apr 2, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

DbGate, a cross‑platform database manager, contains a stored cross‑site scripting flaw in its applicationIcon feature. Attackers can supply malicious SVG icon strings that are rendered as raw HTML. In the web interface this leads to script execution within any user’s browser, while in the Electron desktop application the vulnerable renderer configuration (nodeIntegration:true and contextIsolation:false) enables those scripts to access the underlying Node.js runtime, thereby raising the impact to local code execution.

Affected Systems

DbGate versions from 7.0.0 up to, but not including, 7.1.5 are affected.

Risk and Exploitability

The vulnerability has a CVSS v3 score of 8.3, indicating high severity. EPSS data is not available and the issue is not catalogued in KEV, so the expected exploitation rate cannot be quantified from public data. The flaw can be abused through the web UI by any authenticated or unauthenticated user who can add an SVG icon, or via the desktop app by a local user who can supply a malicious icon. Because the Electron renderer has disabled isolation, the attack readily gains full access to the system the application runs on, making it a near‑certain vector once the precondition of a custom icon is met.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DbGate to version 7.1.5 or later. The patch removes the insecure rendering of SVG icons.
  • If an upgrade is not immediately possible, remove or replace any custom SVG icons in the applicationIcon field, or use benign default icons supplied by the application.
  • Review the Electron configuration in the application; if possible, enable contextIsolation and restrict nodeIntegration to mitigate future similar vulnerabilities.

Generated by OpenCVE AI on April 2, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-35xm-qvjg-8m42 dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration
History
Type Values Removed Values Added
First Time appeared Dbgate
Dbgate dbgate
Vendors & Products Dbgate
Dbgate dbgate
Type Values Removed Values Added
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.
Title dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration
Weaknesses CWE-79
CWE-94
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 3, 2026, 3:55 AM
Reserved
Mar 30, 2026, 6:41 PM
Status
Deferred
Published
Apr 2, 2026, 6:16 PM
Modified
Jul 24, 2026, 9:10 PM