Cloudanix VulnDB

CVE-2025-24529

Medium · 6.4

CVSS

6.4

EPSS

0.4%

Published

Jan 23, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Locate an internet-facing or internal phpMyAdmin instance running a version before 5.2.2
  2. Craft and submit a malicious payload via the Insert tab
  3. Induce an administrator to trigger the vulnerable insert view
  4. 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