CVE-2016-5701: phpMyAdmin Cross-site Scripting Vulnerability

phpmyadmin/phpmyadmin Updated 02 Oct 2025

Summary

14/05/2022
Yes i
Moderate
6.1

CVE-2016-5701: phpMyAdmin vulnerable to Cross-site Scripting. Affects phpmyadmin/phpmyadmin across 3 version ranges.

>= 4.0.10.0, < 4.0.10.16 >= 4.4.15.0, < 4.4.15.7 >= 4.6.0, < 4.6.3

Fixed in 4.0.10.16, 4.4.15.7 or 4.6.3, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2016-5701 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

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 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 a Cross-site Scripting (XSS) attack, which can compromise user sessions and lead to unauthorized actions.

Vulnerability Detail

The vulnerability exists in the setup/frames/index.inc.php file of phpMyAdmin versions 4.0.10.x before 4.0.10.16, 4.4.15.x before 4.4.15.7, and 4.6.x before 4.6.3. It allows remote attackers to conduct BBCode injection attacks via a crafted URI. This can lead to the execution of malicious scripts in the context of the user's session, potentially exposing sensitive information or allowing unauthorized actions.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.10.0, < 4.0.10.16 4.0.10.16
    composer require phpmyadmin/phpmyadmin:4.0.10.16
  • >= 4.4.15.0, < 4.4.15.7 4.4.15.7
    composer require phpmyadmin/phpmyadmin:4.4.15.7
  • >= 4.6.0, < 4.6.3 4.6.3
    composer require phpmyadmin/phpmyadmin:4.6.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can restrict access to the phpMyAdmin interface by implementing IP whitelisting or using a web application firewall to filter malicious requests. However, this does not eliminate the vulnerability and should only be considered until a proper update can be applied.

Conclusion

The CVE-2016-5701 vulnerability in phpMyAdmin poses a significant risk due to its potential for Cross-site Scripting attacks. It is crucial for users of affected versions to update to the latest patched versions to mitigate this risk. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for phpmyadmin/phpmyadmin →

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially compromising their sessions.

The affected versions are phpMyAdmin 4.0.10.x before 4.0.10.16, 4.4.15.x before 4.4.15.7, and 4.6.x before 4.6.3.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If exploited, this vulnerability can allow attackers to hijack user sessions, steal sensitive information, or perform unauthorized actions on behalf of the user.

Yes, the CVSS score for this vulnerability is 6.1, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.10.0, < 4.0.10.16 4.0.10.16
    composer require phpmyadmin/phpmyadmin:4.0.10.16
  • >= 4.4.15.0, < 4.4.15.7 4.4.15.7
    composer require phpmyadmin/phpmyadmin:4.4.15.7
  • >= 4.6.0, < 4.6.3 4.6.3
    composer require phpmyadmin/phpmyadmin:4.6.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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