{"answers":{"affected":"2 open source packages ship an affected version, including dbgate-web.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34725 exists.","fix":"Upgrade dbgate-web to 7.1.5 or later.","what":"CVE-2026-34725 is a high-severity cross-site scripting vulnerability in dbgate, published on 2 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-34725 and fix it if it is affected.\n\nWhat it is: CVE-2026-34725 is a high-severity cross-site scripting vulnerability in dbgate, published on 2 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34725 exists.\n\nAffected packages and fixed versions:\n- dbgate-web (npm): affected from 7.0.0; fixed in 7.1.5\n- dbgate-web (npm): affected from 7.0.0; fixed in 7.1.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34725/ (Markdown: https://insights.sbomify.com/CVE-2026-34725/index.md)","id":"CVE-2026-34725","markdown":"https://insights.sbomify.com/CVE-2026-34725/index.md","name":"CVE-2026-34725","record":{"aliases":["GHSA-35xm-qvjg-8m42"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Database management tool","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via SVG icons, leading to remote code execution in the Electron desktop app due to unsafe renderer configuration.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration","id":"CVE-2026-34725","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Copier `_subdirectory` allows template root escape via parent-directory traversal","id":"CVE-2026-34726"},"packages":[{"ecosystem":"npm","fixed":["7.1.5"],"introduced":["7.0.0"],"last_affected":[],"package":"dbgate-web","purl":null,"source":"GHSA-35xm-qvjg-8m42"},{"ecosystem":"npm","fixed":["7.1.5"],"introduced":["7.0.0"],"last_affected":[],"package":"dbgate-web","purl":"pkg:npm/dbgate-web","source":"GHSA-35xm-qvjg-8m42"}],"prev":{"headline":"Zammad has a server-side template injection leading to RCE via AI Agent","id":"CVE-2026-34724"},"products":["dbgate"],"published":"2026-04-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-03","vendors":["dbgate"]},"summary":"Attackers can inject malicious scripts via SVG icons, leading to remote code execution in the Electron desktop app due to unsafe renderer configuration.","url":"https://insights.sbomify.com/CVE-2026-34725/"}