Vulnerabilities in pkg:npm/dbgate-web
PACKAGECVE-2026-6216 is a LOW (CVSS 3.5) dbgate has cross site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Dbgate web libraries in the npm ecosystem. The issue involves dbgate has cross site scripting via the svg icon string handler component. Remediation is available by upgrading affected packages to version 7.1.5.
pkg:npm/dbgate-web
Vulnerability advisories affecting package pkg:npm/dbgate-web. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j8j5-7r4h-vj2g | CVE-2026-6216 | LOW | DbGate has cross site scripting via the SVG Icon String Handler component |
| GHSA-35xm-qvjg-8m42 | CVE-2026-34725 | HIGH | dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration |
CVE-2026-6216 at a Glance
Security Impact
CVSS: 3.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-6216
To remediate this vulnerability, upgrade all affected Dbgate web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install dbgate-web@7.1.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls dbgate-web
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-6216, inspect your project dependencies using npm:
npm ls dbgate-web
Analyze the terminal output to locate any version of Dbgate web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.1.5), your application is affected.
Note: The npm ls dbgate-web command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Dbgate web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-6216 Affected Dbgate web Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dbgate-web
|
npm |
< 7.1.5
|
7.1.5
|
References
Frequently Asked Questions
What is CVE-2026-6216?
Which Dbgate web versions are affected?
What version fixes CVE-2026-6216?
Is dbgate-web affected?
What is the CVSS score of CVE-2026-6216?
What CWE is associated with CVE-2026-6216?
How can I check npm dependencies for CVE-2026-6216?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j8j5-7r4h-vj2g",
"modified" : "2026-04-14T23:37:05Z",
"published" : "2026-04-13T21:30:45Z",
"aliases" : [ "CVE-2026-6216" ],
"summary" : "DbGate has cross site scripting via the SVG Icon String Handler component",
"details" : "A security vulnerability has been detected in DbGate up to 7.1.4. This affects an unknown function of the file packages/web/src/icons/FontIcon.svelte of the component SVG Icon String Handler. Such manipulation of the argument applicationIcon leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 7.1.5 mitigates this issue. It is advisable to upgrade the affected component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "dbgate-web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.1.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6216"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dbgate/dbgate"
}, {
"type" : "WEB",
"url" : "https://github.com/dbgate/dbgate/releases/tag/v7.1.5"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/785841"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/357135"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/357135/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-14T23:37:05Z",
"nvd_published_at" : "2026-04-13T21:16:32Z"
}
}