CVE-2018-12581: phpMyAdmin XSS Vulnerability

Published Jun 21, 2018
·
Updated

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

20 affected componentsFixes available
composer/phpmyadmin/phpmyadmin<4.8.2
4.8.2
phpMyAdmin phpMyAdmin<4.8.2
composer/phpmyadmin/phpmyadmin<4.8.2
4.8.2
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0
alpine/phpmyadmin<4.8.2-r0
4.8.2-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/phpmyadmin/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.8.2
  2. Upgrade

    Upgrade alpine/phpmyadmin to a version that resolves this vulnerability.

    Fixed in 4.8.2-r0

Event History

Jun 21, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:29 PM
DescriptionSeverityAffected Software
May 14, 2022
Advisory Published
03:08 AM
Data Sourced
via GitHub·03:08 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·03:08 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-12581?

The severity of CVE-2018-12581 is medium with a CVSS score of 6.1.

2

How can I fix the CVE-2018-12581 vulnerability?

To fix the CVE-2018-12581 vulnerability, you should upgrade phpMyAdmin to version 4.8.2 or later.

3

What is the CWE ID for CVE-2018-12581?

The CWE ID for CVE-2018-12581 is CWE-79.

4

Where can I find more information about CVE-2018-12581?

You can find more information about CVE-2018-12581 on the NIST NVD website, the phpMyAdmin security advisory, and the phpMyAdmin GitHub commit.

5

What is the vulnerability description of CVE-2018-12581?

CVE-2018-12581 is a Cross-Site Scripting vulnerability in phpMyAdmin before version 4.8.2 where an attacker can trigger an XSS attack using a crafted database name in the Designer feature.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203