phpMyAdmin XSS Vulnerability
An issue was discovered in js/designer/move.js in phpMyAdmin before 4.8.2. A Cross-Site Scripting vulnerability has been found where an attacker can use a crafted database name to trigger an XSS attack when that database is referenced from the Designer feature.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | phpmyadmin/phpmyadmin | < 4.8.2 | 4.8.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-12581
- https://github.com/phpmyadmin/phpmyadmin/commit/6943fff87324bd54c3a37a5160a5fb77498c355e
- https://web.archive.org/web/20210124181711/http://www.securityfocus.com/bid/104530
- https://web.archive.org/web/20210413204012/http://www.securitytracker.com/id/1041187
- https://www.phpmyadmin.net/security/PMASA-2018-3
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
phpmyadmin/phpmyadmin- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vxj6-pm6r-23hq - CC BY 4.0
Vulnerability history: phpmyadmin/phpmyadmin
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 107
- First → latest
- 01.2020 01.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 10
- High 28
- Medium 56
- Low 13
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 103
- 2023: 2
- 2024: 0
- 2025: 1
- 2026: 0
-
phpMyAdmin XSS Vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.