cve.bz

CVE-2020-24303 grafana grafana: Cross-site Scripting

6.1 mediumEPSS 2.1%Fix available

Medium (6.1) in grafana grafana. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 7.1.0-beta1.

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

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-24303 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-24303?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-24303?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-24303 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
grafana:grafanathrough 7.0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mvpr-q6rh-8vrpGogithub.com/grafana/grafana<7.1.0-beta17.1.0-beta1
GO-2024-2520Gogithub.com/grafana/grafanaall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2020-24303
Red Hatenterprise_linux:8::appstreamgrafana, grafana-debuginfo0:7.3.6-2.el8RHSA-2021:1859
SUSEEnterprise Storage 6grafana7.3.1-3.6.1SUSE-SU-2021:1233-1
SUSEEnterprise Storage 6, Manager Client Tools 15system-user-grafana1.0.0-3.9.1SUSE-SU-2021:1233-1
SUSEOpenStack Cloud 7crowbar-openstack4.0+git.1604938545.30c10db18-9.77.1SUSE-SU-2020:3624-1
SUSEOpenStack Cloud 7grafana6.7.4-1.20.1SUSE-SU-2020:3624-1
SUSEOpenStack Cloud 7influxdb1.2.4-5.1SUSE-SU-2020:3624-1
SUSEOpenStack Cloud 7python-urllib31.16-3.12.1SUSE-SU-2020:3624-1
SUSEOpenStack Cloud 9ardana-cassandra9.0+git.1600802664.7e480a2-3.6.2SUSE-SU-2020:3897-1
SUSEOpenStack Cloud 9ardana-mq9.0+git.1605174486.a78ddce-3.19.2SUSE-SU-2020:3897-1
SUSEOpenStack Cloud 9ardana-neutron9.0+git.1615223676.777f0b3-3.25.2SUSE-SU-2021:1962-1
SUSEOpenStack Cloud 9ardana-osconfig9.0+git.1601621747.a87e5a0-3.22.2SUSE-SU-2020:3897-1
SUSEOpenStack Cloud 9ardana-swift9.0+git.1618235096.90974ed-3.10.2SUSE-SU-2021:1962-1
SUSEOpenStack Cloud 9ardana-tempest9.0+git.1603378983.fc0bca9-3.19.2SUSE-SU-2020:3897-1
70 more for SUSE in the JSON and on SUSE's page.
Rocky Linux8grafana0:7.3.6-2.el8RLSA-2021:1859

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A vulnerable version of Grafana is shipped in OpenShift 3.11 - 4.5 and OpenShift ServiceMesh, however Prometheus is used as a data source and modification to Elasticsearch or Testdata requires full control of the grafana component. Access is restricted to authenticated users only by OpenShift OAuth. As OpenShift and OpenShift ServiceMesh still packages the vulnerable code, the components are affected but with impact Low. OpenShift 4.6 uses version 7.2.0 of Grafana in openshift4/ose-grafana-container and is not affected.

Red Hat Ceph Storage 3 and 4 ship a vulnerable version of grafana, however, Prometheus is used as the data source., and thus the impact is rated as low.

Red Hat Gluster Storage 3 ships vulnerable version of grafana, however Graphite is the only supported data source and hence this issue has been rated as having a security impact of Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8grafana-0:7.3.6-2.el8Fixed 2021-05-18RHSA-2021:1859
OpenShift Service Mesh 1servicemesh-grafanaFix deferred
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
Red Hat Ceph Storage 2grafanaOut of support scope
Red Hat Ceph Storage 3grafanaFix deferred
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Fix deferred
Red Hat OpenShift Container Platform 3.11openshift3/grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat Storage 3grafanaFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-24303.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON