CVE-2025-24529: phpMyAdmin XSS Vulnerability in Insert Tab

phpmyadmin Updated 02 Oct 2025

Summary

24/04/2025
Yes i
Medium
Not published

CVE-2025-24529: An issue was discovered in phpMyAdmin 5.x before 5.2.2. An XSS vulnerability has been discovered for the Insert tab. Affects phpmyadmin versions >= 5.0.0, < 5.2.2. Fixed in 5.2.2. How to fix ↓

Also tracked for

The same CVE-2025-24529 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 widely-used open-source tool for managing MySQL databases through a web interface. It provides a user-friendly way to execute SQL queries, manage database structures, and perform administrative tasks. However, like any web application, it can be susceptible to security vulnerabilities, including cross-site scripting (XSS) attacks, which can compromise user data and application integrity.

Vulnerability Detail

An XSS vulnerability has been identified in phpMyAdmin versions 5.x prior to 5.2.2, specifically in the Insert tab functionality. This vulnerability allows an attacker to inject malicious scripts into the web application, which can be executed in the context of the user's browser. If exploited, this could lead to unauthorized actions being performed on behalf of the user, potentially exposing sensitive information or allowing for further attacks.

How To Fix

Minimum fixed version

5.2.2

This is the first release that contains the fix.

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

Workaround

As a temporary measure, you can restrict access to the Insert tab for untrusted users or disable the feature until the update is applied. Additionally, implementing input validation and output encoding can help mitigate the risk of XSS attacks.

Conclusion

The XSS vulnerability identified in phpMyAdmin versions prior to 5.2.2 poses a significant risk to users and their data. It is crucial to update to the latest version to mitigate this risk and ensure the security of your database management operations.

See every vulnerability recorded for phpmyadmin →

Share this vulnerability

FAQ

XSS (Cross-Site Scripting) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

If you are using phpMyAdmin version 5.x prior to 5.2.2, your installation is vulnerable. You can check your version in the phpMyAdmin interface or by looking at the version number in the source code.

Failure to address this vulnerability could lead to unauthorized access to user accounts, data theft, or further exploitation of your web application.

Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code.

You can find detailed information about CVE-2025-24529 on security databases or by visiting the official phpMyAdmin GitHub repository.

Related vulnerabilities

Recent vulnerabilities recorded for phpmyadmin.

How To Fix

Minimum fixed version

5.2.2

This is the first release that contains the fix.

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