Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-2045

Cross-site scripting (XSS) vulnerability in the SQL editor in phpMyAdmin 4.5.x before 4.5.4 allows remote authenticated users to inject arbitrary web script or HTML via a SQL query that triggers JSON data in a response.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-2045
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:39 UTC · Revision 1

Source evidence

CVE-2016-2045

core-osv · Original source

Published 20 Feb 2016, 01:59 UTC

Cross-site scripting (XSS) vulnerability in the SQL editor in phpMyAdmin 4.5.x before 4.5.4 allows remote authenticated users to inject arbitrary web script or HTML via a SQL query that triggers JSON data in a response.

osv:CVE-2016-2045
Complete source record
{
  "id": "f04ef57a395e68b4eb8a79a2715c95048d3c86f9ef98e19cbc1b3616662d677d",
  "url": "https://osv.dev/vulnerability/CVE-2016-2045",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-2045",
    "summary": "Cross-site scripting (XSS) vulnerability in the SQL editor in phpMyAdmin 4.5.x before 4.5.4 allows remote authenticated users to inject arbitrary web script or HTML via a SQL query that triggers JSON data in a response.",
    "evidence": "osv:CVE-2016-2045",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-2045",
      "aliases": [
        "CVE-2016-2045"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/phpmyadmin/phpmyadmin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "796e6ae09301a7ea8aae74fdb3bb44538c0f5151"
                },
                {
                  "last_affected": "a81ac373c82ec81351b3e5a30c5aa0b2b9e444af"
                },
                {
                  "fixed": "0a24f92d081033576bfdd9d4bdec1a54501734c1"
                },
                {
                  "fixed": "11496890d7e21786cbfd9fd17ab968f498116b3f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0"
                      },
                      {
                        "last_affected": "4.5.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0.1"
                      },
                      {
                        "last_affected": "4.5.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0.2"
                      },
                      {
                        "last_affected": "4.5.0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.1"
                      },
                      {
                        "last_affected": "4.5.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.2"
                      },
                      {
                        "last_affected": "4.5.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.3"
                      },
                      {
                        "last_affected": "4.5.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0a24f92d081033576bfdd9d4bdec1a54501734c1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "11496890d7e21786cbfd9fd17ab968f498116b3f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.5.0",
            "4.5.0.1",
            "4.5.0.2",
            "4.5.1",
            "4.5.2",
            "4.5.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2045.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:25.660175950Z",
      "provider": "osv",
      "references": [
        "https://github.com/phpmyadmin/phpmyadmin/commit/0a24f92d081033576bfdd9d4bdec1a54501734c1",
        "https://github.com/phpmyadmin/phpmyadmin/commit/11496890d7e21786cbfd9fd17ab968f498116b3f"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22"
                  },
                  {
                    "last_affected": "22"
                  },
                  {
                    "introduced": "23"
                  },
                  {
                    "last_affected": "23"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-2045",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379385,
  "published_at": "2016-02-20T01:59:08.5+00:00"
}