# CVE-2020-24303: Grafana XSS via a query alias for the ElasticSearch datasource

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.07%, higher than 81% of CVEs (2026-12-01)
- Published: 2020-10-28T13:25:22.000Z
- Modified: 2026-09-10T03:49:35.028Z
- Also known as: GHSA-mvpr-q6rh-8vrp, BIT-GRAFANA-2020-24303, GO-2024-2520
- Related: CGA-92m9-6h7r-j925
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/grafana/grafana (Go): before 7.1.0-beta1; all versions
- grafana grafana: up to 7.0.5
- grafana (Bitnami): before 7.0.6

## Every score

- GitHub: 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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/grafana/grafana/pull/25401> (advisory, fix, patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20201123-0002/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-24303> (advisory, web)
- <https://github.com/grafana/grafana> (package)
- <https://security.netapp.com/advisory/ntap-20201123-0002> (web)
- <https://github.com/advisories/GHSA-mvpr-q6rh-8vrp> (advisory)

## Sources

- CVE List: [CVE-2020-24303](https://www.cve.org/CVERecord?id=CVE-2020-24303), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-mvpr-q6rh-8vrp](https://github.com/advisories/GHSA-mvpr-q6rh-8vrp), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2520](https://pkg.go.dev/vuln/GO-2024-2520), CC-BY-4.0, modified 2026-06-19
- NVD: [CVE-2020-24303](https://nvd.nist.gov/vuln/detail/CVE-2020-24303), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GRAFANA-2020-24303](https://osv.dev/vulnerability/BIT-GRAFANA-2020-24303), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-24303 · Whole record: https://cve.day/CVE-2020-24303.json · Rebuilt by cve.day 2026-11-25T22:57:55.489Z
