CVE-2026-6216: Dbgate web DbGate Has Cross Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-j8j5-7r4h-vj2g
CVSS 3.5
CWE-79
Published
Advisory Summary

CVE-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.

CVE-2026-6216 at a Glance

CVE Identifier CVE-2026-6216
GHSA Identifier GHSA-j8j5-7r4h-vj2g
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Dbgate web
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (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.

dbgate-web fixed: 7.1.5
npm install dbgate-web@7.1.5
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-6216 Affected Dbgate web Versions

1 component(s)
Fixed Versions:
7.1.5
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?
CVE-2026-6216 is a security vulnerability in Dbgate web involving DbGate has cross site scripting via the SVG Icon String Handler component under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Dbgate web versions are affected?
Affected versions include releases prior to 7.1.5 across affected packages: dbgate-web.
What version fixes CVE-2026-6216?
Upgrading to 7.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dbgate-web affected?
Yes, dbgate-web is affected in releases prior to 7.1.5. Upgrade your dependency to 7.1.5 or later.
What is the CVSS score of CVE-2026-6216?
CVE-2026-6216 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-6216?
CVE-2026-6216 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check npm dependencies for CVE-2026-6216?
Run the dependency tree command: 'npm ls dbgate-web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}