Skip to content
Fencer Vulns
medium 6.1

CVE-2020-24303 json

Grafana XSS via a query alias for the ElasticSearch datasource

published 2020-10-28 6 y ago modified 2026-09-10 1 mo ago also BIT-grafana-2020-24303 , EUVD-2022-4628 , GHSA-mvpr-q6rh-8vrp , GO-2024-2520

cvss
6.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.

Patch / fix

  • go github.com/grafana/grafana 7.1.0-beta1
  • bitnami grafana 7.0.6
  • grafana RHEL 8 7.3.6-2.el8

red hat advisories RHSA-2021:1859

  • kibana OpenStack Cloud Crowbar 9, OpenStack Cloud 9 4.6.6-4.9.2
  • grafana OpenStack Cloud Crowbar 9, OpenStack Cloud 9 6.7.4-3.23.2
  • cassandra OpenStack Cloud Crowbar 9, OpenStack Cloud 9 3.11.10-3.3.3
  • python-py OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.5.4-3.3.2
  • ardana-swift OpenStack Cloud 9 9.0+git.1618235096.90974ed-3.10.2
  • ardana-neutron OpenStack Cloud 9 9.0+git.1615223676.777f0b3-3.25.2
  • openstack-nova OpenStack Cloud Crowbar 9, OpenStack Cloud 9 18.3.1~dev82-3.37.6
  • python-Django1 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.11.29-3.25.1

suse advisories SUSE-SU-2021:1962-1SUSE-SU-2021:1233-1SUSE-SU-2020:3897-1SUSE-SU-2020:3624-1

  • grafana Rocky Linux 8 7.3.6-2.el8

rocky linux advisories RLSA-2021:1859

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-24303 updated cvss 6.1

grafana: XSS via a query alias for the Elasticsearch and Testdata datasource

  • Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheus
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus
    affected: no fix available
  • Red Hat Ceph Storage 2 grafana
    affected: no fix planned “Out of support scope”
  • Red Hat Ceph Storage 3 grafana Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Storage 3 grafana
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 8) grafana 7.3.6-2.el8
    fixed: vendor fix RHSA-2021:1859
  • Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafana
    not 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

2.08% chance of exploitation in the next 30 days, higher than 81% 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
<7.1.0-beta1
all versions
7.1.0-beta1
bitnami grafana
<7.0.6
7.0.6

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

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.