Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-2559

Cross-site scripting (XSS) vulnerability in the format function in libraries/sql-parser/src/Utils/Error.php in the SQL parser in phpMyAdmin 4.5.x before 4.5.5.1 allows remote authenticated users to inject arbitrary web script or HTML via a crafted query.

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

Source evidence

CVE-2016-2559

core-osv · Original source

Published 1 Mar 2016, 11:59 UTC

Cross-site scripting (XSS) vulnerability in the format function in libraries/sql-parser/src/Utils/Error.php in the SQL parser in phpMyAdmin 4.5.x before 4.5.5.1 allows remote authenticated users to inject arbitrary web script or HTML via a crafted query.

osv:CVE-2016-2559
Complete source record
{
  "id": "2cd76c6abbd374f3e22096470e6b22484ba6fbd9ce5114b371ff31611bc5e841",
  "url": "https://osv.dev/vulnerability/CVE-2016-2559",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-2559",
    "summary": "Cross-site scripting (XSS) vulnerability in the format function in libraries/sql-parser/src/Utils/Error.php in the SQL parser in phpMyAdmin 4.5.x before 4.5.5.1 allows remote authenticated users to inject arbitrary web script or HTML via a crafted query.",
    "evidence": "osv:CVE-2016-2559",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-2559",
      "aliases": [
        "CVE-2016-2559",
        "GHSA-7rf8-9r8f-qf59"
      ],
      "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": "4b3c91b0f5c19afec21a909f80bd4fd0e0a056dc"
                },
                {
                  "fixed": "3a6a9a807d99371ee126635e1a505fc1fe0df32c"
                }
              ],
              "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:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0-rc1"
                      },
                      {
                        "last_affected": "4.5.0-rc1"
                      }
                    ],
                    "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"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.3.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.3.1"
                      },
                      {
                        "last_affected": "4.5.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.4"
                      },
                      {
                        "last_affected": "4.5.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.4.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.4.1"
                      },
                      {
                        "last_affected": "4.5.4.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.5"
                      },
                      {
                        "last_affected": "4.5.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3a6a9a807d99371ee126635e1a505fc1fe0df32c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.5.0",
            "4.5.0-rc1",
            "4.5.0.1",
            "4.5.0.2",
            "4.5.1",
            "4.5.2",
            "4.5.3",
            "4.5.3.1",
            "4.5.4",
            "4.5.4.1",
            "4.5.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2559.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:26.100067597Z",
      "provider": "osv",
      "references": [
        "https://www.phpmyadmin.net/security/PMASA-2016-10/",
        "https://github.com/phpmyadmin/phpmyadmin/commit/3a6a9a807d99371ee126635e1a505fc1fe0df32c"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0:beta1:*:*:*:*:*:*",
              "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0:beta2:*:*:*:*:*:*"
            ],
            "vendor_product": "phpmyadmin:phpmyadmin",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.5.0-beta1"
                  },
                  {
                    "last_affected": "4.5.0-beta1"
                  },
                  {
                    "introduced": "4.5.0-beta2"
                  },
                  {
                    "last_affected": "4.5.0-beta2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-2559",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379396,
  "published_at": "2016-03-01T11:59:00.19+00:00"
}