CVE-2020-35572 vrana/adminer via XSS in the history parameter in SQL command
Cross-site scripting vulnerability in Adminer allows attackers to inject malicious scripts via the history parameter, potentially compromising user sessions.
- 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-2020-35572?
CVE-2020-35572 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Feb 2021. 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
Adminer through 4.7.8 allows XSS via the history parameter to the default URI.
Weakness: CWE-79
Which versions are affected by CVE-2020-35572?
2 open source packages ship an affected version, including vrana/adminer. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
vrana/adminer Packagist | All versions | 4.7.9 |
vrana/adminer Packagist | All versions | 4.7.9 |
Products include Adminer Adminer.
How do I fix CVE-2020-35572?
Upgrade vrana/adminer to 4.7.9 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-2020-35572 being exploited?
There is no known exploitation of CVE-2020-35572 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2021-21311 Adminer Server-Side Request Forgery
- CVE-2018-7667 vrana/adminer vulnerable to SSRF by connecting to privileged ports
- CVE-2025-43960 Adminer PHP Object Injection issue leads to Denial of Service
- CVE-2026-25892 Adminer has an Unauthenticated Persistent DoS via Array Injection in ?script=version Endpoint
- CVE-2021-43008 Files or Directories Accessible to External Parties in Adminer
Sources
Also known as DEBIAN-CVE-2020-35572, GHSA-9pgx-gcph-mpqr, UBUNTU-CVE-2020-35572.