CVE-2020-24303 — Vulnerability in github.com/grafana/grafana
Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.08%). Schedule for your next planned update.
Does your project use an affected github.com/grafana/grafana version?
Paste your go.sum to check it for CVE-2020-24303 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/grafana/grafana before v7.1.0-beta1.
Advisory Timeline
- First published June 28, 2024 (881 days ago).
- Last revised June 19, 2026 — 721 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
References
- https://github.com/advisories/GHSA-mvpr-q6rh-8vrpADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-24303ADVISORY
- https://github.com/grafana/grafana/pull/25401FIX
- https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01WEB
- https://security.netapp.com/advisory/ntap-20201123-0002WEB
Frequently Asked Questions
- What is CVE-2020-24303?
- Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana. This vulnerability has been assigned a severity rating of Unknown.
- How do I check if my project is affected by CVE-2020-24303?
- CVE-2020-24303 affects github.com/grafana/grafana. It has a 2.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-24303 and 200,000+ other known vulnerabilities.
Severity & Exploitability
This places it in the top quartile of EPSS-scored vulnerabilities — 82.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2019-19499
Arbitrary file read in github.com/grafana/grafana
- CVE-2024-1313
Grafana: Users outside an organization can delete a snapshot with its key in github.com/grafana/grafana
- CVE-2022-39306
Grafana Email addresses and usernames can not be trusted in github.com/grafana/grafana
- CVE-2022-39307
Grafana User enumeration via forget password in github.com/grafana/grafana
- CVE-2022-35957
Grafana Escalation from admin to server admin when auth proxy is used in github.com/grafana/grafana
- CVE-2022-39229
Grafana when using email as a username can block other users from signing in in github.com/grafana/grafana
- CVE-2022-31130
Grafana Data source and plugin proxy endpoints leaking authentication tokens to some destination plugins in github.com/grafana/grafana
- CVE-2022-31107
Grafana account takeover via OAuth vulnerability in github.com/grafana/grafana