Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-24303

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-24303
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:16 UTC · Revision 1

Source evidence

CVE-2020-24303

core-osv · Original source

Published 28 Oct 2020, 14:15 UTC

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

osv:CVE-2020-24303
Complete source record
{
  "id": "f15978811ca871fcea3a69e5db7d054aa47e88d2f7f12be12870abe77c3b80bd",
  "url": "https://osv.dev/vulnerability/CVE-2020-24303",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-24303",
    "summary": "Grafana before 7.1.0-beta 1 allows XSS via a query alias for the ElasticSearch datasource.",
    "evidence": "osv:CVE-2020-24303",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-24303",
      "aliases": [
        "BIT-grafana-2020-24303",
        "CVE-2020-24303",
        "GHSA-mvpr-q6rh-8vrp",
        "GO-2024-2520"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grafana/grafana",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "efbcbb838b4318eaf04161bc9216c74d0155efba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "7.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v7.0.5",
            "v7.0.4",
            "v7.0.3",
            "v7.0.2",
            "v7.0.1",
            "v7.0.0",
            "7.0.0",
            "v7.0.0-beta3",
            "v6.5",
            "v6.0.0-beta1",
            "v5.,2.4",
            "v5.0.0",
            "v5.0.0-beta5",
            "v5.0.0-beta4",
            "v5.0.0-beta3",
            "v5.0.0-beta2",
            "v5.0.0-beta1",
            "v4.6.0-beta1",
            "v4.5.0",
            "v4.5.0-beta1",
            "v4.4.0",
            "v3.1.0-beta1",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0-beta7",
            "v3.0.0-beta6",
            "v2.6.0",
            "v2.6.0-beta1",
            "v2.5.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0-beta3",
            "v2.0.0-beta1",
            "v1.9.1",
            "v1.9.0",
            "v1.9.0-rc1",
            "v1.7.0-rc1",
            "v1.6.1",
            "v1.6.0",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24303.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:44.279447298Z",
      "provider": "osv",
      "references": [
        "https://github.com/grafana/grafana/blob/master/CHANGELOG.md#710-beta-1-2020-07-01",
        "https://security.netapp.com/advisory/ntap-20201123-0002/",
        "https://github.com/grafana/grafana/pull/25401"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-24303",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384563,
  "published_at": "2020-10-28T14:15:12.33+00:00"
}