CVE-2018-12581
MEDIUM 6.1CVSS 3.0phpMyAdmin 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.
- Published
- 21 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-vxj6-pm6r-23hq
- Sources
- NVDJSONOSV GHSA-vxj6-pm6r-23hqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpmyadmin | phpmyadmincpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* |
< 4.8.2 | 4.8.2 |
| OSV | Packagist | phpmyadmin/phpmyadmin | < 4.8.2 | 4.8.2 |
References
- http://www.securityfocus.com/bid/104530 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1041187 · Third Party Advisory, VDB Entry
- https://www.phpmyadmin.net/security/PMASA-2018-3/ · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-12581 · ADVISORY
- https://github.com/phpmyadmin/phpmyadmin/commit/6943fff87324bd54c3a37a5160a5fb77498c355e · WEB
- https://web.archive.org/web/20210124181711/http://www.securityfocus.com/bid/104530 · WEB
- https://web.archive.org/web/20210413204012/http://www.securitytracker.com/id/1041187 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 Jun 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)