CVE-2020-12245 json
Grafana XSS in header column rename
published 2020-04-24 6 y ago modified 2026-09-10 1 mo ago also BIT-grafana-2020-12245 , EUVD-2022-3559 , GHSA-ccmg-w4xm-p28v , GO-2024-2517
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
Grafana before 6.7.3 allows table-panel XSS via column.title or cellLinkTooltip.
Patch / fix
- go github.com/grafana/grafana 6.7.3
- bitnami grafana 6.7.3
- grafana grafana 6.7.3
- grafana RHEL 8 6.7.4-3.el8
- grafana-loki RHEL 8 6.7.4-3.el8
- grafana-mssql RHEL 8 6.7.4-3.el8
- grafana-mysql RHEL 8 6.7.4-3.el8
- grafana-graphite RHEL 8 6.7.4-3.el8
- grafana-influxdb RHEL 8 6.7.4-3.el8
- grafana-opentsdb RHEL 8 6.7.4-3.el8
- grafana-postgres RHEL 8 6.7.4-3.el8
red hat advisories RHSA-2020:4682RHSA-2020:2861RHSA-2020:2796
- grafana Enterprise Storage 6 7.3.1-3.6.1
- system-user-grafana Manager Client Tools 15, Enterprise Storage 6 1.0.0-3.9.1
- koan Manager Client Tools 15 2.9.0-4.15.2
- rhnlib Manager Client Tools 15 4.1.2-3.16.2
- grafana Manager Client Tools 15 7.0.3-1.9.2
- mgr-cfg Manager Client Tools 15 4.1.2-1.12.4
- mgr-osad Manager Client Tools 15, Manager Client Tools 12 4.1.2-1.15.2
- mgr-push Manager Client Tools 15 4.1.1-1.6.4
suse advisories SUSE-SU-2021:1233-1SUSE-SU-2020:1972-1SUSE-SU-2020:1970-1
- grafana openSUSE Tumbleweed 7.5.7-1.2
- grafana Package Hub 15 SP2 7.1.5-bp152.3.3.1
- grafana Package Hub 15 SP1 7.1.5-bp151.2.1
- dracut-saltboot openSUSE Leap 15.2 0.1.1590413773.a959db7-lp152.2.3.1
- grafana-status-panel openSUSE Leap 15.2 1.0.9-lp152.2.3.1
- grafana openSUSE Leap 15.2 7.0.3-lp152.2.3.1
- grafana-piechart-panel openSUSE Leap 15.2 1.4.0-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:10818-1openSUSE-SU-2020:1646-1openSUSE-SU-2020:1611-1openSUSE-SU-2020:1105-1openSUSE-SU-2020:0892-1
- grafana AlmaLinux 8 6.7.4-3.el8
- grafana-loki AlmaLinux 8 6.7.4-3.el8
- grafana-mssql AlmaLinux 8 6.7.4-3.el8
- grafana-mysql AlmaLinux 8 6.7.4-3.el8
- grafana-graphite AlmaLinux 8 6.7.4-3.el8
- grafana-influxdb AlmaLinux 8 6.7.4-3.el8
- grafana-opentsdb AlmaLinux 8 6.7.4-3.el8
- grafana-postgres AlmaLinux 8 6.7.4-3.el8
almalinux advisories ALSA-2020:4682
- github.com/grafana/grafana@0284747 commit
- github.com/grafana/grafana#23816 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12245 updated cvss 6.1
grafana: XSS via column.title or cellLinkTooltip
-
Red Hat Ceph Storage 2 grafanaaffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 3 grafana, grafana-container Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat Storage 3 grafanaaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana 6.2.2-38.el8, servicemesh-grafana-prometheus 6.2.2-38.el8fixed: vendor fix RHSA-2020:2861
-
Red Hat OpenShift Service Mesh 1.1 servicemesh-grafana 6.4.3-11.el8, servicemesh-grafana-prometheus 6.4.3-11.el8fixed: vendor fix RHSA-2020:2796
-
Red Hat Enterprise Linux AppStream (v. 8) grafana 6.7.4-3.el8, grafana-loki 6.7.4-3.el8, grafana-mssql 6.7.4-3.el8, grafana-mysql 6.7.4-3.el8, grafana-graphite 6.7.4-3.el8, grafana-influxdb 6.7.4-3.el8, +7 morefixed: vendor fix RHSA-2020:4682
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-grafana v4.6.0-202010061132.p0fixed: vendor fix RHSA-2020:4298
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-cli v4.6.0-202010080605.p0, openshift4/ose-ptp v4.6.0-202010200139.p0, openshift4/ose-etcd v4.6.0-202010061132.p0, openshift4/ose-tests v4.6.0-202010120952.p0, openshift4/ose-console v4.6.0-202010100121.p0, openshift4/ose-coredns v4.6.0-202010061132.p0, +79 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.96% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | <6.7.3 all versions |
6.7.3 |
| bitnami | grafana | <6.7.3 |
6.7.3 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/grafana/grafana/pull/23816
web, patch
-
github.com
/grafana/grafana/commit/0284747c88eb9435899006d26ffaf65f89dec88e
web, patch
-
lists.opensuse.org
/opensuse-security-announce/2020-06/msg00060.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-07/msg00083.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-10/msg00009.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-10/msg00017.html
vendor-advisory, web
-
community.grafana.com
/t/release-notes-v6-7-x/27119
web, vendor-advisory, advisory
-
github.com
/grafana/grafana/blob/master/CHANGELOG.md#673-2020-04-23
web, release-notes, article
-
security.netapp.com
/advisory/ntap-20200511-0001/
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-12245
advisory, web
-
github.com
/grafana/grafana
package
-
security.netapp.com
/advisory/ntap-20200511-0001
web
-
github.com
/advisories/GHSA-ccmg-w4xm-p28v
advisory
Sources
- CVE List CVE-2020-12245
- GitHub Advisory GHSA-ccmg-w4xm-p28v
- NVD CVE-2020-12245
- OSV BIT-grafana-2020-12245
- OSV GO-2024-2517
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.