CVE-2012-5339 phpMyAdmin multiple cross-site scripting vulnerabilities

Low 3.5 Published Updated

Authenticated users can inject arbitrary scripts via crafted database object names, potentially compromising other users' sessions.

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-2012-5339?

CVE-2012-5339 is a low-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 25 Oct 2012. 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.3 allow remote authenticated users to inject arbitrary web script or HTML via a crafted name of (1) an event, (2) a procedure, or (3) a trigger.

Weakness: CWE-79

Which versions are affected by CVE-2012-5339?

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

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistFrom 3.53.5.3
phpmyadmin/phpmyadmin PackagistFrom 3.53.5.3

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2012-5339?

Upgrade phpmyadmin/phpmyadmin to 3.5.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-2012-5339 being exploited?

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

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as GHSA-rfpg-2fp8-2fph.

Is CVE-2012-5339 in your software?

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

Check your SBOMs for free