Cross-Site Scripting Vulnerability in phpMyAdmin - CVE-2016-5732

phpmyadmin Updated 03 Oct 2025

Summary

03/07/2016
N/A
No i
Medium
6.1

UBUNTU-CVE-2016-5732: Multiple cross-site scripting (XSS) vulnerabilities in the partition-range implementation in templates/table/structure/display_partitions.phtml in the table-structure page in phpMyAdmin 4.6.x before 4.6.3 allow remote at... Affects phpmyadmin versions 4:4.0.10-1 – 4:4.0.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpMyAdmin is a widely-used open-source tool written in PHP, designed to handle the administration of MySQL databases through a web interface. It allows users to perform various database operations such as creating, modifying, and deleting databases and tables, executing SQL queries, and managing user permissions. However, certain versions of phpMyAdmin are vulnerable to cross-site scripting (XSS) attacks, which can compromise the security of web applications that rely on this tool.

Vulnerability Detail

The vulnerability identified as CVE-2016-5732 arises from multiple cross-site scripting (XSS) flaws in the partition-range implementation within the display_partitions.phtml file of phpMyAdmin. This issue allows remote attackers to inject arbitrary web scripts or HTML into the application via crafted table parameters. If exploited, this vulnerability could lead to unauthorized actions being performed on behalf of users, potentially compromising sensitive data and user sessions.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can restrict access to the phpMyAdmin interface by implementing IP whitelisting or using a web application firewall (WAF) to filter out malicious requests. Additionally, disabling the execution of scripts in the affected directory can mitigate the risk until a proper update is applied.

Conclusion

CVE-2016-5732 represents a significant security risk for users of phpMyAdmin, particularly those running vulnerable versions. It is crucial to update to the latest version to mitigate the risk of XSS attacks. Implementing workarounds can provide temporary relief, but a proper update is the most effective solution.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

CVE-2016-5732 is a vulnerability in phpMyAdmin that allows remote attackers to exploit cross-site scripting (XSS) flaws, potentially compromising user sessions and sensitive data.

The vulnerability affects phpMyAdmin versions prior to 4.6.3. Users should ensure they are running the latest version to avoid exploitation.

You can check your phpMyAdmin version by logging into the interface and looking for version information, or by using tools like Vulert to monitor for vulnerabilities in your software.

Exploitation of this vulnerability can lead to unauthorized access, data theft, and manipulation of database contents, posing significant risks to the integrity and confidentiality of data.

Vulert provides real-time monitoring and alerts for open-source vulnerabilities using a manifest file like package-lock.json, allowing developers to stay informed about potential risks without needing to access the code directly.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback