CVE-2016-5732 phpMyAdmin XSS Vulnerability

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via crafted table parameters in the table-structure page of phpMyAdmin.

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-2016-5732?

CVE-2016-5732 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 3 Jul 2016. 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

Multiple cross-site scripting (XSS) vulnerabilities in the partition-range implementation in templates/table/structure/display_partitions.phtml in the table-structure page in phpMyAdmin 4.6.x before 4.6.3 allow remote attackers to inject arbitrary web script or HTML via crafted table parameters.

Weakness: CWE-79

Which versions are affected by CVE-2016-5732?

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

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistFrom 4.6.04.6.3
phpmyadmin/phpmyadmin PackagistFrom 4.6.04.6.3

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2016-5732?

Upgrade phpmyadmin/phpmyadmin to 4.6.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-2016-5732 being exploited?

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

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5732, GHSA-3q28-xfw3-2q35, UBUNTU-CVE-2016-5732.

Is CVE-2016-5732 in your software?

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

Check your SBOMs for free