Skip to main content

CVE-2025-24530 — Vulnerability in phpmyadmin/phpmyadmin — CVE Details

MEDIUM

phpMyAdmin XSS when checking tables

Published January 23, 2025Updated November 3, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.49%). Schedule for your next planned update.

Does your project use an affected phpmyadmin/phpmyadmin version?

Paste your composer.lock to check it for CVE-2025-24530 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

An issue was discovered in phpMyAdmin 5.x before 5.2.2. An XSS vulnerability has been discovered for the check tables feature. A crafted table or database name could be used for XSS.

Advisory Timeline

  • First published January 23, 2025 (672 days ago).
  • Last revised November 3, 2025 — 285 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update phpmyadmin/phpmyadmin to 5.2.2 or later
composer require "phpmyadmin/phpmyadmin:^5.2.2"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
phpmyadmin/phpmyadmin Packagist · Affected: 5.0.0, 5.0.0.1, 5.0.1, 5.0.2 (+9 more)5.2.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Frequently Asked Questions

What is CVE-2025-24530?
phpMyAdmin XSS when checking tables. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.4/10).
How do I check if my project is affected by CVE-2025-24530?
CVE-2025-24530 affects phpmyadmin/phpmyadmin. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24530 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.4

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.49%
EPSS percentile: 34.5

This is a below-median EPSS score — only 34.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-222v-cx2c-q2f5
BIT-phpmyadmin-2025-24530

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock