Critical XSS Vulnerability in phpMyAdmin: Multiple Attack Vectors

phpmyadmin Updated 02 Oct 2025

Summary

22/12/2011
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2011-4634: Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.4.x before 3.4.8 allow remote attackers to inject arbitrary web script or HTML via (1) a crafted database name, related to the Database Synchronize pane... Affects phpmyadmin versions < 4:3.4.8-1. Fixed in 4:3.4.8-1. 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 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 users. However, versions 3.4.x prior to 3.4.8 are vulnerable to multiple cross-site scripting (XSS) attacks, which can be exploited by remote attackers to inject arbitrary web scripts or HTML.

Vulnerability Detail

The vulnerability arises from insufficient input validation in phpMyAdmin 3.4.x before version 3.4.8. Attackers can exploit this flaw by crafting malicious database names or SQL queries that are processed by the application, leading to XSS attacks. The potential ramifications include unauthorized access to sensitive information, session hijacking, and defacement of the web interface. Specifically, the vulnerabilities are associated with the Database Synchronize panel, Database rename panel, table overview panel, view creation dialog, table search dialog, and create index dialog.

How To Fix

Minimum fixed version

4:3.4.8-1

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 the phpMyAdmin interface by implementing IP whitelisting or using a web application firewall (WAF) to filter out malicious requests. Additionally, disabling features that allow user input in the affected panels can mitigate the risk until the package is updated.

Conclusion

The identified XSS vulnerabilities in phpMyAdmin versions prior to 3.4.8 pose significant risks to users. It is crucial to update to the latest version to protect against potential attacks. Implementing workarounds can provide temporary relief, but a permanent fix through updates is essential for long-term security.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

phpMyAdmin is a free and open-source web-based application for managing MySQL databases.

Cross-site scripting (XSS) vulnerabilities allow attackers to inject malicious scripts into web pages viewed by other users.

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

Implement temporary workarounds such as IP whitelisting or using a web application firewall to mitigate the risk.

Failing to address this vulnerability can lead to unauthorized access, data breaches, and potential loss of sensitive information.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

4:3.4.8-1

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