XSS Vulnerability in phpMyAdmin: CVE-2016-9856

phpmyadmin Updated 03 Oct 2025

Summary

11/12/2016
N/A
No i
Medium
6.1

UBUNTU-CVE-2016-9856: An XSS issue was discovered in phpMyAdmin because of an improper fix for CVE-2016-2559 in PMASA-2016-10. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

phpMyAdmin is a widely used open-source tool for managing MySQL databases through a web interface. It allows users to perform various database operations such as creating, modifying, and deleting databases and tables. The package is popular among developers and system administrators for its ease of use and extensive features. However, it has been found to be vulnerable to an XSS (Cross-Site Scripting) issue due to an improper fix for a previous vulnerability, CVE-2016-2559.

Vulnerability Detail

The vulnerability, identified as CVE-2016-9856, arises from an improper fix for a prior XSS issue in phpMyAdmin. This flaw can allow attackers to execute arbitrary JavaScript code in the context of the user's session, potentially leading to data theft, session hijacking, or other malicious actions. The affected versions include all 4.6.x versions prior to 4.6.5, 4.4.x versions prior to 4.4.15.9, and 4.0.x versions prior to 4.0.10.18. The CVSS score for this vulnerability is 6.1, indicating a medium severity level.

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

If immediate patching is not possible, consider restricting access to the phpMyAdmin interface to trusted IP addresses only, or implementing web application firewalls to filter out malicious requests.

Conclusion

CVE-2016-9856 is a significant XSS vulnerability in phpMyAdmin that can lead to serious security risks if not addressed. Users are strongly advised to update to the latest patched versions to mitigate these risks. Additionally, temporary workarounds can help protect systems until updates can be applied.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

CVE-2016-9856 is a vulnerability in phpMyAdmin that allows for Cross-Site Scripting (XSS) attacks due to an improper fix for a previous issue.

Affected versions include all 4.6.x versions prior to 4.6.5, 4.4.x versions prior to 4.4.15.9, and 4.0.x versions prior to 4.0.10.18.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Consider implementing access restrictions or using web application firewalls as a temporary measure until you can apply the patch.

The CVSS score for CVE-2016-9856 is 6.1, indicating a medium severity level.

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