CVE-2020-26934: phpMyAdmin XSS Vulnerability

phpmyadmin Updated 02 Oct 2025

Summary

06/03/2024
Yes i
Medium
Not published

CVE-2020-26934: phpMyAdmin before 4.9.6 and 5.x before 5.0.3 allows XSS through the transformation feature via a crafted link. Affects phpmyadmin across 2 version ranges.

>= 4.9.0, < 4.9.6 >= 5.0.0, < 5.0.3

Fixed in 4.9.6 or 5.0.3, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-26934 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 popular open-source tool for managing MySQL databases. It provides a web-based interface that allows users to perform various database management tasks, such as creating tables, executing queries, and managing user permissions. This vulnerability affects phpMyAdmin versions before 4.9.6 and 5.x before 5.0.3. The transformation feature in phpMyAdmin can be exploited through a crafted link, leading to cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability in phpMyAdmin allows an attacker to inject malicious code into the application through a specially crafted link. When a user clicks on the link, the injected code is executed in the context of the user's browser, potentially allowing the attacker to steal sensitive information, perform actions on behalf of the user, or manipulate the application's functionality. This vulnerability has a medium severity rating and can be exploited remotely without authentication.

How To Fix

Fixed versions by release line

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

  • >= 4.9.0, < 4.9.6 4.9.6
  • >= 5.0.0, < 5.0.3 5.0.3

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

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable the transformation feature in phpMyAdmin. This can be done by modifying the configuration file or using the phpMyAdmin interface to disable the feature. However, disabling the transformation feature may limit certain functionalities of phpMyAdmin, so upgrading to the patched version is still the recommended solution.

Conclusion

The XSS vulnerability in phpMyAdmin can be mitigated by upgrading to the latest patched version or by temporarily disabling the transformation feature. It is important to promptly address this vulnerability to ensure 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 an open-source tool for managing MySQL databases. It provides a web-based interface for performing various database management tasks.

Versions of phpMyAdmin before 4.9.6 and 5.x before 5.0.3 are affected by this XSS vulnerability.

An attacker can exploit this vulnerability by crafting a malicious link and tricking a user into clicking on it. When the user clicks on the link, the attacker's injected code is executed in the user's browser.

This vulnerability can allow an attacker to steal sensitive information, perform actions on behalf of the user, or manipulate the functionality of the phpMyAdmin application.

Yes, a temporary workaround is to disable the transformation feature in phpMyAdmin. However, this may limit certain functionalities of the application.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Fixed versions by release line

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

  • >= 4.9.0, < 4.9.6 4.9.6
  • >= 5.0.0, < 5.0.3 5.0.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