Advisory

GHSA-6hr3-44gx-g6wh

Also known as: BIT-phpmyadmin-2023-25727, CVE-2023-25727

Summary

Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin

Details

In phpMyAdmin before 4.9.11 and 5.x before 5.2.1, an authenticated user can trigger Cross-site Scripting (XSS) by uploading a crafted .sql file through the drag-and-drop interface. By disabling the configuration directive $cfg['enable_drag_drop_import'], users will be unable to use the drag and drop upload which would protect against the vulnerability.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-02-13 06:30 UTC
Modified
2025-03-21 15:52 UTC

Affected packages and fixes

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 4.3.0, fixed 4.9.11 (ecosystem)

Fixed versions

4.9.11

Fix

The export has no generic command for this ecosystem.

phpmyadmin/phpmyadmin

Packagist · All systems

Affected

  • introduced 5.0, fixed 5.2.1 (ecosystem)

Fixed versions

5.2.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences