CVE-2018-7260 phpMyAdmin Cross-site scripting (XSS) vulnerability in central columns feature

Medium 5.4 Published Updated

Remote authenticated users can inject arbitrary web script or HTML via a crafted URL in phpMyAdmin, potentially leading to session hijacking or malicious actions.

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-2018-7260?

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

Official description

Cross-site scripting (XSS) vulnerability in db_central_columns.php in phpMyAdmin before 4.7.8 allows remote authenticated users to inject arbitrary web script or HTML via a crafted URL.

Weakness: CWE-79

Which versions are affected by CVE-2018-7260?

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

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistAll versions4.7.8
phpmyadmin/phpmyadmin PackagistAll versions4.7.8

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2018-7260?

Upgrade phpmyadmin/phpmyadmin to 4.7.8 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-7260 being exploited?

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

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7260, GHSA-gqmj-f46x-wqhw, MGASA-2018-0156, UBUNTU-CVE-2018-7260.

Is CVE-2018-7260 in your software?

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

Check your SBOMs for free