CVE-2020-24303
MEDIUM 6.1CVSS 3.1Grafana XSS via a query alias for the ElasticSearch datasource
Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.
- Published
- 28 Oct 2020
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-grafana-2020-24303GHSA-mvpr-q6rh-8vrpGO-2024-2520
- Sources
- NVDJSONOSV GHSA-mvpr-q6rh-8vrpJSONOSV GO-2024-2520JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* |
<= 7.0.5 | |
| OSV | Go | github.com/grafana/grafana | < 7.1.0-beta1 | 7.1.0-beta1 |
| OSV | Go | github.com/grafana/grafana | all versions |
References
- https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01 · Release Notes, Third Party Advisory, WEB
- https://github.com/grafana/grafana/pull/25401 · Patch, Third Party Advisory, WEB, FIX
- https://security.netapp.com/advisory/ntap-20201123-0002/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-24303 · ADVISORY
- https://github.com/grafana/grafana · PACKAGE
- https://github.com/advisories/GHSA-mvpr-q6rh-8vrp · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 28 Oct 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)