XSS Vulnerability in phpMyAdmin: Navigation Tree Exploit

phpmyadmin Updated 02 Oct 2025

Summary

11/12/2018
N/A
Yes i
Medium
6.1

CVE-2018-19970: In phpMyAdmin before 4.8.4, an XSS vulnerability was found in the navigation tree, where an attacker can deliver a payload to a user through a crafted database/table name. Affects phpmyadmin across 2 version ranges.

< 4:4.9.1+dfsg1-2 >= 6da64cc3b2ba4439574f914f51e161645375be96, < 56ba19808f020fa8ac63366d450c3928564a91b8

Fixed in 4:4.9.1+dfsg1-2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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. Despite its extensive functionality, phpMyAdmin has been susceptible to vulnerabilities, including cross-site scripting (XSS) attacks, which can compromise user data and application integrity.

Vulnerability Detail

In phpMyAdmin versions prior to 4.8.4, an XSS vulnerability was identified in the navigation tree. This flaw allows attackers to craft malicious database or table names that, when accessed by a user, can execute arbitrary scripts in the user's browser. This can lead to unauthorized actions, data theft, or session hijacking, posing significant risks to users and their data.

How To Fix

Minimum fixed version

4:4.9.1+dfsg1-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpmyadmin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to phpMyAdmin or implement web application firewalls to filter out potentially malicious requests. However, upgrading to a secure version is the recommended approach.

Conclusion

The XSS vulnerability in phpMyAdmin's navigation tree poses significant risks to users and their data. It is crucial to upgrade to the latest version to mitigate these risks effectively. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time, ensuring better security for your applications.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.1, indicating a medium severity level.

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

If exploited, this vulnerability can lead to unauthorized access, data theft, and potential control over user sessions.

While upgrading is the best solution, you can mitigate risks by restricting access to phpMyAdmin and using web application firewalls.

Versions of phpMyAdmin prior to 4.8.4 are affected by this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:4.9.1+dfsg1-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpmyadmin

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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