CVE-2018-19970 phpMyAdmin Cross-site Scripting (XSS) vulnerability
An attacker can execute arbitrary scripts in a victim's browser via crafted database or table names in phpMyAdmin's navigation tree.
- 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-2018-19970?
CVE-2018-19970 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 11 Dec 2018. 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
In phpMyAdmin before 4.8.4, an XSS vulnerability was found in the navigation tree, where an attacker can deliver a payload to a user through a crafted database/table name.
Weakness: CWE-79
Which versions are affected by CVE-2018-19970?
2 open source packages ship an affected version, including phpmyadmin/phpmyadmin. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
phpmyadmin/phpmyadmin Packagist | From 4.0 | 4.8.4 |
phpmyadmin/phpmyadmin Packagist | From 4.0 | 4.8.4 |
Products include Debian Debian Linux, Phpmyadmin Phpmyadmin.
How do I fix CVE-2018-19970?
Upgrade phpmyadmin/phpmyadmin to 4.8.4 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-19970 being exploited?
There is no known exploitation of CVE-2018-19970 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-19970, GHSA-8987-93fh-rcwq, UBUNTU-CVE-2018-19970.