CVE-2020-24303: Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.
Medium CVSS 6.1
- CVE id
- CVE-2020-24303
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Grafana Runtimes and servers |
<= 7.0.5 | after 7.0.5 |
How to fix it
Upgrade Grafana to a release newer than 7.0.5.
grafana-server -v
- Upgrade Grafana (the grafana/grafana image tag or packages) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.
References
- CVE-2020-24303 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-24303
- Web: https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01
- Web: https://github.com/grafana/grafana/pull/25401
- Web: https://security.netapp.com/advisory/ntap-20201123-0002/
- Web: https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01
- Web: https://github.com/grafana/grafana/pull/25401
- Web: https://security.netapp.com/advisory/ntap-20201123-0002/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.