CVE-2020-35572 vrana/adminer via XSS in the history parameter in SQL command

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
vrana/adminer PackagistAll versions4.7.9
vrana/adminer PackagistAll versions4.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.

Sources

Also known as DEBIAN-CVE-2020-35572, GHSA-9pgx-gcph-mpqr, UBUNTU-CVE-2020-35572.

Is CVE-2020-35572 in your software?

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

Check your SBOMs for free