CVE-2013-4997 phpMyAdmin Multiple cross-site scripting (XSS) vulnerabilities

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via JavaScript events in phpMyAdmin setup or chart titles, requiring user interaction to execute.

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

What is CVE-2013-4997?

CVE-2013-4997 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 30 Jul 2013. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.5.x before 3.5.8.2 allow remote attackers to inject arbitrary web script or HTML via vectors involving a JavaScript event in (1) an anchor identifier to setup/index.php or (2) a chartTitle (aka chart title) value.

Weakness: CWE-79

Which versions are affected by CVE-2013-4997?

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

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistFrom 3.53.5.8.2
phpmyadmin/phpmyadmin PackagistFrom 3.53.5.8.2

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2013-4997?

Upgrade phpmyadmin/phpmyadmin to 3.5.8.2 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-2013-4997 being exploited?

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

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-4997, GHSA-5gh4-v2ch-pcx4.

Is CVE-2013-4997 in your software?

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

Check your SBOMs for free