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.
Adminer before 6.0.2 XSS via CONNECTION_ID escalating to RCE
Problem type
Affected products
vrana
< 6.0.2 - AFFECTED
6.0.2 - UNAFFECTED
References
https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx
https://www.vulncheck.com/advisories/adminer-before-6.0.2-xss-via-connection-id-escalating-to-rce
GitHub Security Advisories
GHSA-3hv2-gxcf-jxpg
Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID()...
https://github.com/advisories/GHSA-3hv2-gxcf-jxpgAdminer 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.
https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx
https://nvd.nist.gov/vuln/detail/CVE-2026-100695
https://www.vulncheck.com/advisories/adminer-before-6.0.2-xss-via-connection-id-escalating-to-rce
https://github.com/advisories/GHSA-3hv2-gxcf-jxpg
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-100695Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-100695",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-09-26T13:23:52.929Z",
"dateReserved": "2026-09-26T02:37:41.038Z",
"datePublished": "2026-09-26T13:23:52.929Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-09-26T13:23:52.929Z"
},
"datePublic": "2026-09-07T00:00:00.000Z",
"title": "Adminer before 6.0.2 XSS via CONNECTION_ID escalating to RCE",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "vrana",
"product": "adminer",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "6.0.2"
},
{
"version": "6.0.2",
"status": "unaffected",
"versionType": "semver"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx",
"name": "GitHub Security Advisory (GHSA-7c5h-q78c-fpxx)",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://www.vulncheck.com/advisories/adminer-before-6.0.2-xss-via-connection-id-escalating-to-rce",
"name": "VulnCheck Advisory: Adminer before 6.0.2 XSS via CONNECTION_ID escalating to RCE",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM"
}
}
],
"credits": [
{
"lang": "en",
"value": "AllanzoDaizen",
"type": "reporter"
}
]
}
}
}