phpMyAdmin XSS Vulnerability
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 4.8.2Ecosystem versions | 4.8.2 |
Version evidence: OSV · GHSA-vxj6-pm6r-23hq
View original version evidence (35 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2018-12581
- Patch github.com/phpmyadmin/phpmyadmin/commit/6943fff87324bd54c3a37a5160a5fb77498c355e
- Security advisory web.archive.org/web/20210124181711/http://www.securityfocus.com/bid/104530
- Security advisory web.archive.org/web/20210413204012/http://www.securitytracker.com/id/1041187
- Security advisory www.phpmyadmin.net/security/PMASA-2018-3