CVE-2020-12052 Cross-site scripting in n/a
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.
| Package | Affected | Fixed in |
|---|---|---|
grafana Bitnami | All versions | 6.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.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2020-12052, GHSA-46x4-c48q-4248, UBUNTU-CVE-2020-12052.