Cross-Site Scripting (XSS) Vulnerabilities in phpMyAdmin 2.10.3

phpmyadmin Updated 02 Oct 2025

Summary

13/08/2007
N/A
No i
Unrated
Not published

CVE-2007-4306: Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 2.10.3 allow remote attackers to inject arbitrary web script or HTML via the (1) unlim_num_rows, (2) sql_query, or (3) pos parameter to (a) tbl_export.php... Affects phpmyadmin versions 4:5.0.4+dfsg2-2 – 4:5.2.2-really5.2.2+20250121+dfsg-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 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 popular web-based administration tool for managing MySQL databases. It provides a user-friendly interface for performing various database operations such as creating tables, executing queries, and managing user privileges. However, phpMyAdmin version 2.10.3 is susceptible to multiple cross-site scripting (XSS) vulnerabilities.

Vulnerability Detail

The identified vulnerabilities allow remote attackers to inject arbitrary web script or HTML into phpMyAdmin. These vulnerabilities can be exploited through different parameters in various PHP files, such as tbl_export.php, sql.php, server_privileges.php, and main.php. The specific parameters include unlim_num_rows, sql_query, pos, session_max_rows, and username. These vulnerabilities could potentially lead to unauthorized access, data manipulation, or phishing attacks.

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

If upgrading to a newer version is not immediately feasible, users can implement additional security measures to mitigate the risk. This includes implementing input validation and output encoding to prevent the execution of malicious scripts. Additionally, enforcing strict access controls and regularly monitoring the application for any suspicious activities can help detect and prevent potential attacks.

Conclusion

The identified XSS vulnerabilities in phpMyAdmin 2.10.3 pose a significant security risk to affected installations. It is highly recommended to upgrade to a newer version of phpMyAdmin that includes the necessary patches. Implementing additional security measures and regularly monitoring the application for any suspicious activities can further enhance the security of phpMyAdmin instances. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

phpMyAdmin is a web-based administration tool for managing MySQL databases. It provides a graphical interface for performing various database operations.

Cross-site scripting vulnerabilities allow attackers to inject malicious scripts into web pages viewed by other users. This can lead to unauthorized access, data theft, or other malicious activities.

These vulnerabilities can be exploited by injecting arbitrary web script or HTML through specific parameters in phpMyAdmin PHP files. Attackers can manipulate these parameters to execute malicious code on the target system.

The consequences of these vulnerabilities include unauthorized access to sensitive data, data manipulation, phishing attacks, and the potential compromise of the entire phpMyAdmin installation.

To protect your phpMyAdmin installation, it is crucial to keep the software up to date by applying the latest patches and security updates. Additionally, implementing input validation, output encoding, and strict access controls can help mitigate the risk of XSS vulnerabilities.

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