CVE-2025-24529
Medium · 6.4CVSS
6.4
EPSS
0.4%
Published
Jan 23, 2025
CISA due date
—
Cloudanix analysis
A bug in a popular database management web tool lets attackers run hidden code if an administrator uses the data insert feature, potentially exposing sensitive information.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Cross-site scripting flaw in the Insert tab permits injection and execution of arbitrary scripts in the phpMyAdmin web interface context.
Why it matters to the business
Attackers can hijack administrator sessions or manipulate database operations, raising the chance of data exposure or unauthorized changes in environments using this tool.
How an attack unfolds
An attacker supplies a crafted payload through the Insert tab; when an administrator views or processes the insert, the script runs in their browser session to exfiltrate credentials or perform actions on their behalf.
How to fix it
Upgrade phpMyAdmin to version 5.2.2 or newer; apply the listed Firefox fixes only if that browser is the client entry point.
How to confirm the fix worked
Confirm the phpMyAdmin version is 5.2.2 or later and test that insert operations no longer reflect or execute injected markup.
Typical attack path
- Locate an internet-facing or internal phpMyAdmin instance running a version before 5.2.2
- Craft and submit a malicious payload via the Insert tab
- Induce an administrator to trigger the vulnerable insert view
- Execute the injected script to steal session tokens or conduct further actions
How to detect it
Inspect web server and phpMyAdmin access logs for unusual insert requests containing script tags or event handlers; review browser console or proxy logs for unexpected script execution originating from the Insert tab.
What your security team should do
- Prioritize upgrade of all phpMyAdmin instances to 5.2.2 within the next patch cycle
- Monitor for any public exploit code given the published date and steady EPSS
- Review web application firewall rules to block common XSS patterns targeting database tools
The record
An issue was discovered in phpMyAdmin 5.x before 5.2.2. An XSS vulnerability has been discovered for the Insert tab.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | phpmyadmin | 5.0.0 | 5.2.2 |
| Debian:11 | phpmyadmin | 0 | No fix |
| Debian:11 | phpmyadmin | 0 | 4:5.0.4+dfsg2-2+deb11u2 |
| Debian:12 | phpmyadmin | 0 | No fix |
| Debian:13 | phpmyadmin | 0 | 4:5.2.2-really5.2.2+20250121+dfsg-1 |
| SUSE:Package Hub 15 SP6 | phpMyAdmin | 0 | 5.2.2-bp156.4.3.1 |
| Ubuntu:20.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:22.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:24.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:24.10 | phpmyadmin | 0 | No fix |
| Ubuntu:25.04 | phpmyadmin | 0 | No fix |
| Ubuntu:25.10 | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | phpmyadmin | 0 | No fix |
| openSUSE:Leap 15.6 | phpMyAdmin | 0 | 5.2.2-bp156.4.3.1 |
| openSUSE:Tumbleweed | phpMyAdmin | 0 | 5.2.2-2.1 |
Related vulnerabilities
- CVE-2025-24530 An issue was discovered in phpMyAdmin 5.x before 5.2.2. Also affects phpmyadmin
- CVE-2016-5734 phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not… Also affects phpmyadmin
- CVE-2015-6830 libraries/plugins/auth/AuthenticationCookie.class.php in phpMyAdmin 4.3.x before 4.3.13.2… Also affects phpmyadmin
- CVE-2014-9218 libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.7, 4.1.x before 4.1.14.8, and… Also affects phpmyadmin
- CVE-2011-4107 The simplexml_load_string function in the XML import plug-in (libraries/import/xml.php)… Also affects phpmyadmin
- CVE-2011-2505 libraries/auth/swekey/swekey.auth.lib.php in the Swekey authentication feature in… Also affects phpmyadmin
- CVE-2010-3055 The configuration setup script (aka scripts/setup.php) in phpMyAdmin 2.11.x before… Also affects phpmyadmin
- CVE-2009-1285 Static code injection vulnerability in the getConfigFile function in… Also affects phpmyadmin