CVE-2020-12052 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in Grafana via annotation popups, potentially compromising user sessions and data.

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-12052?

CVE-2020-12052 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 27 Apr 2020. 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

Grafana version < 6.7.3 is vulnerable for annotation popup XSS.

Weakness: CWE-79

Which versions are affected by CVE-2020-12052?

1 open source package ship an affected version, including grafana. It affects 1 product.

PackageAffectedFixed in
grafana BitnamiAll versions6.7.3

Products include Grafana Grafana.

How do I fix CVE-2020-12052?

Upgrade grafana to 6.7.3 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-12052 being exploited?

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

All Grafana Grafana vulnerabilities

Sources

Also known as BIT-grafana-2020-12052, GHSA-46x4-c48q-4248, UBUNTU-CVE-2020-12052.

Is CVE-2020-12052 in your software?

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

Check your SBOMs for free