Executive brief
DbGate, a database management tool for SQL and NoSQL databases, is vulnerable to a security flaw in its icon handling component. An attacker could use this to execute malicious scripts in a user's browser, potentially leading to unauthorized actions or the theft of session information. This issue affects both the desktop and web-based versions of the application.
Technical details
A cross-site scripting (XSS) vulnerability exists in DbGate versions up to 7.1.4 within the SVG Icon String Handler component. The flaw is located in the 'packages/web/src/icons/FontIcon.svelte' file, where the 'applicationIcon' argument is processed without sufficient sanitization. A remote attacker with low privileges can exploit this by providing a specially crafted SVG string, leading to the execution of arbitrary JavaScript in the context of the victim's browser session. The vulnerability was addressed in version 7.1.5 by implementing SVG icon sanitization.
Affected products
- DbGate DbGate <= 7.1.4
Timeline
- 2026-03-25: patched: Version 7.1.5 released with SVG sanitization
- 2026-04-13: disclosed: Public disclosure of the vulnerability
- 2026-04-13: advisory: GitHub Advisory published