{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.4.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "189869c4a8f0f897848cdb58493b572178084d6c"
            }
          ],
          "repo": "https://github.com/vrana/adminer",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h6jr-7pr6-grgj"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56704.json"
  },
  "details": "Adminer before 5.4.3 inserts unsanitized database server version strings into script tags with valid CSP nonces without proper validation. Attackers controlling a rogue MySQL server can return crafted version strings that break out of the JavaScript context and execute arbitrary code, bypassing Content Security Policy protections.",
  "id": "CVE-2026-56704",
  "modified": "2026-09-10T03:30:30.721020685Z",
  "published": "2026-08-25T01:30:02.831Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56704.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vrana/adminer/security/advisories/GHSA-h6jr-7pr6-grgj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56704"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/adminer-before-cross-site-scripting-via-mysql-version-string"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Adminer before 5.4.3 Cross-Site Scripting via MySQL Version String"
}