---
id: CVE-2026-100695
title: >-
  Adminer before 6.0.2 contains a cross-site scripting vulnerability where the
  CONNECTION_ID() database result is interpolated into JavaScript without proper
  escaping, allowing a malicious database server to execute arbitrary JavaScript
  in…
summary: >-
  Adminer before 6.0.2 contains a cross-site scripting vulnerability where the
  CONNECTION_ID() database result is interpolated into JavaScript without proper
  escaping, allowing a malicious database server to execute arbitrary JavaScript
  in…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: vrana
product: adminer
affected:
  - adminer < 6.0.2
published: '2026-09-26'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T14:16:54.297'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100695'
references:
  - url: 'https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/adminer-before-6.0.2-xss-via-connection-id-escalating-to-rce
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-26T13:33:20.904Z'
---

## Overview

Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID() database result is interpolated into JavaScript without proper escaping, allowing a malicious database server to execute arbitrary JavaScript in the authenticated Adminer origin. In co-located deployments where the database has FILE privileges and can write to the webroot, attackers can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, achieving remote code execution as the web server account.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
