CVE-2011-3591: phpMyAdmin Multiple XSS Vulnerabilities After Inline Editing and Save

phpmyadmin/phpmyadmin Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Low
Not published

CVE-2011-3591: phpMyAdmin Multiple XSS Vulnerabilities After Inline Editing and Save. Affects phpmyadmin/phpmyadmin versions >= 3.4.0, < 3.4.5. Fixed in 3.4.5. How to fix ↓

Also tracked for

The same CVE-2011-3591 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

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 open-source tool written in PHP that is used for managing MySQL databases. It provides a web-based interface for performing various database administration tasks such as creating, modifying, and deleting databases, tables, and records. The tool is widely used by developers and administrators to interact with MySQL databases efficiently and securely. However, multiple cross-site scripting (XSS) vulnerabilities have been discovered in phpMyAdmin versions 3.4.x before 3.4.5.

Vulnerability Detail

The identified XSS vulnerabilities in phpMyAdmin allow remote authenticated users to inject arbitrary web script or HTML into the application. These vulnerabilities are triggered when a crafted row is used to generate an improperly constructed confirmation message after inline-editing and save operations. The vulnerabilities are specifically related to the 'js/functions.js' and 'js/tbl_structure.js' files. An attacker can exploit these vulnerabilities to execute malicious code in the context of other users, potentially leading to session hijacking, data theft, or other malicious activities.

How To Fix

Minimum fixed version

3.4.5

This is the first release that contains the fix.

composer require phpmyadmin/phpmyadmin:3.4.5

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

Workaround

If upgrading to the latest version is not immediately feasible, users can implement the following workaround to mitigate the risk of exploitation:

  1. Disable inline editing functionality in phpMyAdmin.
  2. Regularly review and sanitize user input to prevent the injection of malicious scripts or HTML.

Please note that while the workaround can help reduce the risk, it is still crucial to update to the latest version to fully address the vulnerabilities.

Conclusion

The identified XSS vulnerabilities in phpMyAdmin versions 3.4.x before 3.4.5 pose a significant risk to the security and integrity of affected installations. It is crucial for users to upgrade to the latest version or apply the provided workaround to mitigate the vulnerabilities. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for phpmyadmin/phpmyadmin →

Share this vulnerability

FAQ

phpMyAdmin is an open-source tool used for managing MySQL databases through a web-based interface. It simplifies various database administration tasks and is widely used by developers and administrators.

Cross-site scripting (XSS) vulnerabilities allow attackers to inject malicious scripts or HTML into web applications, which can be executed by other users visiting the affected pages.

An attacker with authenticated access to phpMyAdmin can exploit these vulnerabilities by crafting a row that triggers an improperly constructed confirmation message after inline-editing and save operations. This can lead to the execution of arbitrary scripts or HTML in the context of other users.

Exploitation of these vulnerabilities can result in session hijacking, data theft, or other malicious activities. Attackers can execute arbitrary code in the context of other users, potentially compromising the security and integrity of the affected phpMyAdmin instances.

To protect your phpMyAdmin installation, it is recommended to upgrade to version 3.4.5 or later, which includes the necessary patches to address the XSS vulnerabilities. Additionally, regularly reviewing and sanitizing user input can help prevent the injection of malicious scripts or HTML.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin/phpmyadmin.

How To Fix

Minimum fixed version

3.4.5

This is the first release that contains the fix.

composer require phpmyadmin/phpmyadmin:3.4.5

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