CVE-2014-8958 Cross-site scripting in n/a

Medium 4.3 Published Updated

Authenticated attackers can inject arbitrary scripts via crafted database names or cookies, potentially compromising user sessions in phpMyAdmin.

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-2014-8958?

CVE-2014-8958 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 30 Nov 2014. 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 4.0.x before 4.0.10.6, 4.1.x before 4.1.14.7, and 4.2.x before 4.2.12 allow remote authenticated users to inject arbitrary web script or HTML via a crafted (1) database, (2) table, or (3) column name that is improperly handled during rendering of the table browse page; a crafted ENUM value that is improperly handled during rendering of the (4) table print view or (5) zoom search page; or (6) a crafted pma_fontsize cookie that is improperly handled during rendering of the home page.

Weakness: CWE-79

Which versions are affected by CVE-2014-8958?

It affects 1 product.

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2014-8958?

Upgrade to a fixed version.

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-2014-8958 being exploited?

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

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as DEBIAN-CVE-2014-8958, GHSA-rpvm-cpgc-m3w7, UBUNTU-CVE-2014-8958.

Is CVE-2014-8958 in your software?

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

Check your SBOMs for free