Live threats

All CVEs / Grafana

CVE-2020-24303Grafana

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Oct 28, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Grafana.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/grafana/grafana < 7.1.0-beta1 7.1.0-beta1 go get github.com/grafana/grafana@v7.1.0-beta1
Go github.com/grafana/grafana all no fixed version —

Per OSV / GitHub Advisories (GHSA-mvpr-q6rh-8vrp, GO-2024-2520). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
grafanagrafana≤ 7.0.5

Official sources

References

Links published by the sources. Open them with care.