Cross-Site Scripting Vulnerabilities in phpMyAdmin: CVE-2016-2560

phpmyadmin Updated 03 Oct 2025

Summary

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

UBUNTU-CVE-2016-2560: Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.15, 4.4.x before 4.4.15.5, and 4.5.x before 4.5.5.1 allow remote attackers to inject arbitrary web script or HTML via (1) a crafted Ho... 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 for managing MySQL databases through a web interface. It allows users to perform various database operations, including creating, modifying, and deleting databases and tables. The tool is known for its user-friendly interface and extensive features, making it a popular choice among developers and database administrators. However, certain versions of phpMyAdmin are vulnerable to multiple cross-site scripting (XSS) attacks, which can compromise the security of web applications that rely on it.

Vulnerability Detail

The vulnerability identified as CVE-2016-2560 affects phpMyAdmin versions 4.0.x before 4.0.10.15, 4.4.x before 4.4.15.5, and 4.5.x before 4.5.5.1. It allows remote attackers to inject arbitrary web scripts or HTML into the application through various vectors, including crafted Host HTTP headers, JSON data, SQL queries, and specific parameters in user accounts and search pages. This can lead to unauthorized actions being executed on behalf of users, potentially compromising sensitive data and application integrity.

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 affected parameters to mitigate the risk of XSS attacks. This includes ensuring that any user input is properly encoded before being rendered in the web interface.

Conclusion

CVE-2016-2560 represents a significant security risk for users of vulnerable phpMyAdmin versions. It is crucial to update to a secure version to protect against potential XSS attacks. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain application security.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

CVE-2016-2560 is a vulnerability in phpMyAdmin that allows for cross-site scripting attacks, enabling attackers to inject malicious scripts into the application.

The vulnerability affects phpMyAdmin versions 4.0.x before 4.0.10.15, 4.4.x before 4.4.15.5, and 4.5.x before 4.5.5.1.

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 lead to unauthorized actions being performed on behalf of users, potentially compromising sensitive data and application integrity.

The best protection is to update phpMyAdmin to a patched version. Additionally, implementing input validation and sanitization can help mitigate risks.

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