6.1medium
Grafana XSS via a query alias for the ElasticSearch datasource
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.07% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-mvpr-q6rh-8vrpBIT-GRAFANA-2020-24303GO-2024-2520
Description
Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/grafana/grafana (Go) | before 7.1.0-beta1, all versions | GitHub Advisory Database, Go Vulnerability Database |
| grafana grafana | up to 7.0.5 | NVD |
| grafana (Bitnami) | before 7.0.6 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium 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 | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.
Go Vulnerability Database
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.
NVD (es)
Grafana versiones anteriores a 7.1.0-beta 1, permite un ataque de tipo XSS por medio de un alias de consulta de la fuente de datos de ElasticSearch
Bitnami Vulnerability Database
Grafana before 7.1.0 allows XSS via a query alias for the ElasticSearch datasource.
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 | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-24303 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mvpr-q6rh-8vrp changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2520 changed 2026-06-19 | CC-BY-4.0 |
| NVD | CVE-2020-24303 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GRAFANA-2020-24303 changed 2026-09-08 | Apache-2.0 |