Cross-Site Scripting Vulnerability in phpMyAdmin: CVE-2016-5099

phpmyadmin Updated 03 Oct 2025

Summary

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

UBUNTU-CVE-2016-5099: Cross-site scripting (XSS) vulnerability in phpMyAdmin 4.4.x before 4.4.15.6 and 4.6.x before 4.6.2 allows remote attackers to inject arbitrary web script or HTML via special characters that are mishandled during double... 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 Penetration testing for web, API and mobile 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. Despite its robust functionality, phpMyAdmin has been susceptible to security vulnerabilities, including CVE-2016-5099, which exposes users to potential cross-site scripting (XSS) attacks.

Vulnerability Detail

CVE-2016-5099 is a cross-site scripting (XSS) vulnerability that affects phpMyAdmin versions 4.4.x prior to 4.4.15.6 and 4.6.x prior to 4.6.2. The vulnerability arises from improper handling of special characters during double URL decoding, allowing remote attackers to inject arbitrary web scripts or HTML. This can lead to unauthorized actions being performed on behalf of the user, data theft, or other malicious activities.

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 workaround, users can implement input validation and sanitization on the web application level to mitigate the risk of XSS attacks. This includes encoding special characters in user inputs and ensuring that user-generated content is properly escaped before rendering it on the web page.

Conclusion

CVE-2016-5099 is a significant vulnerability in phpMyAdmin that poses a risk of cross-site scripting attacks. Users are encouraged to update their phpMyAdmin installations to the latest patched versions to mitigate this risk. Additionally, implementing security best practices can further protect applications from XSS vulnerabilities.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

CVE-2016-5099 is a cross-site scripting vulnerability in phpMyAdmin that allows attackers to inject malicious scripts via improperly handled special characters.

The vulnerability affects phpMyAdmin versions 4.4.x before 4.4.15.6 and 4.6.x before 4.6.2.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If exploited, this vulnerability can allow attackers to perform unauthorized actions, steal sensitive data, or compromise user accounts.

Implement input validation, output encoding, and use security libraries to sanitize user inputs to protect against XSS attacks.

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