CVE-2019-13068 Grafana Cross-site Scripting vulnerability
Attackers can inject HTML into Grafana panel drilldown links, potentially executing scripts and 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-2019-13068?
CVE-2019-13068 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 29 Jun 2019. 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
public/app/features/panel/panel_ctrl.ts in Grafana before 6.2.5 allows HTML Injection in panel drilldown links (via the Title or url field).
Weakness: CWE-79
Which versions are affected by CVE-2019-13068?
2 open source packages ship an affected version, including github.com/grafana/grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | 6.2.5 |
github.com/grafana/grafana Go | All versions | 6.2.5 |
Products include Grafana Grafana.
How do I fix CVE-2019-13068?
Upgrade github.com/grafana/grafana to 6.2.5 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-2019-13068 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-13068 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Grafana Grafana
Sources
Also known as GHSA-7phr-6cc9-4m5q.