CVE-2018-15605 phpMyAdmin Cross-site Scripting (XSS) in the import dialog

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in an authenticated user's browser via a crafted file in the import feature.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-15605?

CVE-2018-15605 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 24 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in phpMyAdmin before 4.8.3. A Cross-Site Scripting vulnerability has been found where an attacker can use a crafted file to manipulate an authenticated user who loads that file through the import feature.

Weakness: CWE-79

Which versions are affected by CVE-2018-15605?

2 open source packages ship an affected version, including phpmyadmin/phpmyadmin. It affects 1 product.

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistAll versions4.8.3
phpmyadmin/phpmyadmin PackagistAll versions4.8.3

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2018-15605?

Upgrade phpmyadmin/phpmyadmin to 4.8.3 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2018-15605 being exploited?

There is no known exploitation of CVE-2018-15605 in the wild and no public exploit code.

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as GHSA-c958-4j9x-q7w4.

Is CVE-2018-15605 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free